In most cases, this issue is cause by one of these 3 things:

  1. incorrectly copy pasted API key
  2. invalid JSON (please double check and validate your JSON)
  3. missing headers: {'Content-Type': 'application/json'}

If the problem persists, get in touch with us and share a sample of your code that is returning the error message.