I am testing this HTTP callout Connect for Schema. 201 means the record was added, yes? What does the Error Message mean?
I tried and it won't let me save the Sample Request Body but it will let me save the Flow.
Morning all, please be patient with me but I am still not able to quite connect the dots here. I checked the schema in my External Service record and it matches what is posted on the Zoho API documentation. The only possible discrepancy is two of the fields are listed as "long" type on the Zoho documentation but when I checked that it should match with the integer type, No? Is the match issue realted to the schema file to the Zoho fields or is it the response back? The response has a lot of fields that aren't on the input schema (i.e. Customer Id). But I can't put an Id into a Post call because that is what the system generates when it creates the new record. Sorry for being a little slow on the uptake but just not a programmer by training.
Ajaypreet Singh Saini (Grantbook) Forum Ambassador
Hey, this is a data type mismatch for sure. I would recommend going with the sample request body option and using Postman to provide sample request and response to be used while setting up the HTTP callout post request I’d start by changing the I’d fields to numbers (remove the quotes) and convert the dates to strings of you have any
If you have a swagger definition for the endpoint you are using or a sample JSON payload then use that to work out what your data types ought to be
Hi @Joey Len ,
I think there is a data type mismatch
https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007Rg7iZSAR