Hi all
I've been working on SAP Integration Suite for connecting to airtable and perform CRUD operations. I've created a integration flow for PATCH request in my suite and wanted to test it through POSTMAN by hitting the endpoint of PATCH iflow. The issue here is that even though i'm sending my json payload in the format of airtable PATCH request postman is throwing 500 error.
My table in airtable
Note that EmpID is also Single Line Text here
Below are my configurations of the integration flow i've created to perform a PATCH operation through POSTMAN.
Json payload i'm sending through postman to suite
In Https adapater
Added a groovy script after start for fetching the airtable id through the json payload
Added Content modifier to update headers with bearer token, Content-Type and Accept (hardcoded bearer token in header itself as of now for testing. Will change it to dynamic value later)
Under exchange property i've added id to send it to the endpoint and body for checking the payload being sent.
The response of id and body that are going to be sent before i've got before adding request reply.
The HTTP adapter configurations are
Postman request
When i've checked the message monitoring my airtable ID is getting attached to the airtable PATCH endpoint but it shows the below error.
To double check whether i'm passing the correct ID i've even sent a get request and ensured that correct ID is being sent