BAD REQUEST

{“type”:”error.SuiteScriptError”,”name”:”400_BAD_REQUEST”,

SOLUTION

The 400 (Bad Request) status code indicates that the server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process. If the server is programmed with a file size limit, then you might encounter a 400 error.

{“fulfillment”: {“location_id”:60986949890,”tracking_number”:null,”line_items”:[    {        “id”:”11751945470210″,”quantity”:2   } ]         }}

How to fix bad request:

1.Check the requested URL.

2.Check the body part of the request that if it is correctly given or not.

Leave a comment

Your email address will not be published. Required fields are marked *