1 year ago
#76207
Shar
Post response from postman call to Azure logic app http url throws request content cannot be deserialized
Making a post call with a payload in body from postman to the HTTP url from Azure logic app. I am trying to pass a variable dynamically to the logic app to execute a query. I defined schema in the request body schema section in logic app. Also a payload in the postman body. I am receiving an error: "error": { "code": "InvalidRequestContent", "message": "The request content is not valid and could not be deserialized: 'Unexpected character encountered while parsing value: a. Path 'AccountId', line 2, position 18.'."
Request Body JSON Schema in logic app-
{
"kind": "Http",
"inputs": {
"schema": {
"properties": {
"AccountId": {
"type": "String"
}
},
"type": "object"
}
}
}
Postman payload:
{
"AccountId": [{{MemberId}}]
}
Content type is defined under header section to application/json The workflow in the logic app is as follows: enter image description here
Need to pass the memberid from postman to AccountId in Azure logic app. The query in logic app uses AccountId to execute the query
postman
azure-logic-apps
0 Answers
Your Answer