Legacy Open Mesh: API Error: Exception: Key Not Found

Question

What does the API error "Exception: key not found" mean?

Environment

  • CloudTrax

Answer

If you receive an error response with the message "Exception: key not found", it means there is a problem with the key/secret pair you're using to make your request. Please double check your key/secret pair is correct, and you are generating the authorization and signature headers correctly.

If you are using a key/secret pair from your User Management account, ensure you are connecting to api-v2.cloudtrax.com instead of api.cloudtrax.com.

Error example:

{
  "errors": [
    {
      "code": 1000,
      "context": "getAuthDataByKey",
      "details": "",
      "message": "Exception: key not found",
      "values": {
        "reason": "key not found"
      }
    }
  ]
}