Errors
  • 31 Dec 2023
  • 1 Minute to read
  • Dark
    Light

Errors

  • Dark
    Light

Article Summary

Sometimes your API request will generate an error 🤬 . Errors are no fun, especially when the error message isn't helpful. We wrote clear and helpful error messages for you but wanted to provide a bit more information to help you understand what went wrong and how you can fix it.

Status codeDescription
302 - RedirectThe bearer token expired. You need to generate a new bearer token.
401 - UnauthorizedThe request couldn't be authenticated because the provided bearer token was not valid.

If you receive this error more than once, we suggest you create a new API key and generate a new bearer token.
403 - ForbiddenThe role of the user that created the API key doesn't have permission to perform the action on the resource. the API key inherits the permissions of the role of the user that create the key.
404 - Not foundThe resource does not exist. It was either deleted or never existed.
409 - ConflictReturned when you make a Create a secret request and a secret with that name already exists.
502 - Bad gatewaySomething went wrong on Torq's side.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.