bitsrun

not_found

Calling your endpoint, HTTP status 404.

HTTP status 404.

What happened: The address or endpoint does not exist for this key. This also covers deleted endpoints, endpoints in another account, paths the endpoint does not serve, and keys limited to a different endpoint. All of these answer the same way on purpose.

How to fix it: Copy the endpoint URL again from its card or with bitsrun status <endpoint>. Check the path (for example /v1/chat/completions) and that the key works with this endpoint.

How it looks

The response has HTTP status 404 and a JSON body with the same three fields as every BitsRun error:

json
{ "error": { "code": "not_found", "message": "...", "requestId": "01k9a2b3c4d5e6f7g8h9j0k1m2" } }
  • code never changes, so your code can check for it and react.
  • message says what happened in plain words; show it to your users or log it.
  • requestId identifies this request. Include it when you write to support@bitsrun.com.

The bitsrun command line prints the message and the request id; add --json to see the full error.

Still stuck? Email support@bitsrun.com with the requestId from the error and a real person will look into it.

Other calling your endpoint errors

Every code on one page: Error codes in the docs.