Error parsing body request when I start a flow

Hi

I am having some problems starting a flow, when I send a body request in json format the output generated is a string as it follow

"{
“documentNumber”:“1032450”,
“emailAssistedUser":"camilo@gmail.com”
}
"
So given this, It is not possible to parse the internal variables.

{
“documentNumber”:“1032450875”,
“emailAssistedUser":"camilo@gmail.com”
}

Have you ever experienced problems like this

Hi @yohang22

Do you have a screenshot of the flow/request you can share? It will make it easier to diagnose the problem.

Thanks Daniel .
image
image

I have seen this behavior when an API Request is made using the hook
https://f51461f5d7664c729824925ecfe780af.flow.pstmn.io/

{
“documentNumber”:“10324503”,
“emailAssistedUser":"camilo@gmail.com”
}

@yohang22

If you select the start block and then click the gear icon in the top right of Postman (next to the fork button) you should see a drop down that lets you select between text and JSON, can you make sure JSON is selected?

Thanks Daniel. JSON is selected
image

Can you confirm this one is set to JSON?

1 Like

Thanks Daniel, I had text configured but I just changed to JSON in that panel and worked perfectly. :grinning:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.