Not Receiving Proper Response
  • 09 Nov 2022
  • Dark
    Light
  • PDF

Not Receiving Proper Response

  • Dark
    Light
  • PDF

Article summary

Issue Statement

The call to the other system is returning but I am not getting the data that I expected, or the adapter is having issues with the response.

What You Can Do

Here are some things that you can do to try to resolve the issue:

  • Check the responseDatatype and make sure it is set to the type of response data you are expecting. The runtime libraries will attempt to do different things based on the datatype. If the datatype is not correct, the adapter may not format the response data properly.
  • Check the responseSchema and make sure it is handling the data as expected. The schema defines how to translate data so maybe the data is being put somewhere you do not expect or maybe it is being dropped from the response. Schema also handles things like decoding, decrypting and parsing individual data fields.
  • Check the return data flag on the actual call in the adapter.js. Often this flag is set to false on update calls and delete calls. When it is false all that will be returned to IAP is the status, whether the call was successful of failed. If this is happening, changing this flag to true should allow the data the adapter receives to be sent up to IAP.
  • You may need to make changes to the action.json and schema within the Endpoint Configuration for the adapter (/adapter-home-dir/entities/specific-entity).
    • action.json: Defines the calls available for the specific entity. The action.json includes things like path, method, data types, schemas, etc.
    • Schema: Defines the data that will be sent to and returned from the other system.

If you are unable to determine the issue by looking at the log, follow the Support process to create a ticket with the log information and the Itential Adapters Team will be happy to assist.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.