Question

The app returned "JSON parse error - Expecting property name enclosed in double quotes: line 1 column 2 (char 1)". (HTTP Status Code: 400)

  • 24 February 2023
  • 3 replies
  • 798 views

Hey All -
 

Trying to POST raw payload. I keep getting this error. When I attempt the post in postman, the outside system gives me a positive response. When I copy the payload into Zapier, I keep receive the same error. Any help would be must appreciated.

{ "leads": [ { "first_name": "Chris", "last_name": "Morgan", "email": "email", "phone": "phone", "address": "address", "unit": "", "city": "Lexington", "state": "KY", "zip_code": "40511", "avg_bill": 180 } ] }


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @chrisrmor 

Good question.

For us to have context, please post detailed screenshots with how your Zap steps are configured, thanks.

Try using this JSON structure and make sure any extra spaces/whitespace are removed.

{
    "leads": [{
        "first_name": "Chris",
        "last_name": "Morgan",
        "email": "email",
        "phone": "phone",
        "address": "address",
        "unit": "",
        "city": "Lexington",
        "state": "KY",
        "zip_code": "40511",
        "avg_bill": 180
    }]
}

 

Userlevel 7
Badge +14

@chrisrmor 

This is not likely the correct parameter.

 

Instead, try using the a Custom Request