API Error 404: Not Found

1 min read
Last updated on Jul 7, 2023

An HTTP 404: Not Found error is returned by the API when a requested resource can not be found. This can happen for one of several reasons:

  • You are attempting to hit an endpoint that does not exist (like https://api.bonsai.io/covfefe).
  • You are attempting to access some information that is not available to your account.

Example

An HTTP 404: Not Found error may look something like this:

{  "errors": [
    "Cluster doesnotexist-1234 not found.",
    "Please review the documentation available at https://docs.bonsai.io",
    "Undefined request."
  ],
  "status": 404}

The "status": 404 key confirms the error is an HTTP 404: Not Found error.

Troubleshooting

The first thing to look at when troubleshooting an HTTP 404: Not Found error is the error message array which is returned from the API. Also make sure to check for any typos that may have ended up in the request.

If you're still unsure why you are receiving the error, then please shoot us an email.

Ready to take a closer look at Bonsai?

Find out if Bonsai is a good fit for you in just 15 minutes.

Learn how a managed service works and why it’s valuable to dev teams

You won’t be pressured or used in any manipulative sales tactics

We’ll get a deep understanding of your current tech stack and needs

Get all the information you need to decide to continue exploring Bonsai services

Calming Bonsai waves