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.
If you are still receiving a 400 error please open a ticket with us as we would be glad to assist to help resolve the issue.