I got a bad request format error response (a 400). What did I do wrong?

Some common request issues are:

  • You are passing in text in a language that the endpoint doesn’t support. Try setting the language JSON request parameter to the three-letter code of the language of your text, and make sure the endpoint supports it by checking the documentation. You can also check the X-RosetteAPI-ProcessedLanguage header in the response to see what language our API thinks your text is in.
  • You’ve passed in an empty string or an invalid character.
  • You didn’t pass in required parameters, like a targetLanguage to the /name-translation endpoint, or either content or contentUri to others.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.




Powered by Zendesk