Skip to main content
All CollectionsAPI Access
API 400 Bad Request Error
API 400 Bad Request Error

Common reasons for a 400 Bad Request Error

Support avatar
Written by Support
Updated over 5 years ago

A 400 Bad Request Error indicates that the server was unable to process the request sent by the client due to invalid syntax. 

Some common errors occur with the quotes.

Almost all references within the code require the use of double quotes (highlighted in green below)

However, when referencing the data using the -d, it must be enclosed in single quotes  (highlighted in blue below)

Also, the editor you use to write your code can default to smart quotes which look like this — “ ” — they curl inward. Whereas straight quotes look like this —  " " — they are straight, not curled.

Ensure the editor you are using does NOT use smart quotes as this will cause a 400 Bad Request Error.


​ 

Did this answer your question?