In json file, i got the error in HTTP

DataError

Error: 400 Bad Request

  • {“error_message”:“Expected property name or ‘}’ in JSON at position 2”}
Origin

HTTP

Automatic error handler

If you want to handle this error automatically, choose one of the following options. This will create a new error-handler route in your scenario. You can then expand the route in any way you like.

Ignore all errors
Ignore errors of type DataError
More information about error handling

1 Like

Hello @amulya_a,
May be I’m wrong but I think they don’t consider the given Request content to be JSON.
Try to pass that same JSON string to the Parse JSON module and see what they return.

Also, share the shot of http module settings.
Don’t forget to hide sensitive information.
:+1:

Hey @amulya_a

“to_number” in your request is not in E.164 format. Please correct it and then try. 400 error means something that is violating the condition.

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like

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