Skip to content

404 not_found

HTTP status
404
Code
not_found
Title
Not found
Meaning
No such resource in this tenant, or an invalid token.

What to do

Check the ID. IDs are prefixed (ct_, sg_, tp_, cm_, im_, ex_, key_) and belong to one account: a key for another account never finds them.

Where it comes from

  • GET /v1/contacts/{id}
  • PATCH /v1/contacts/{id}
  • POST /v1/contacts/{id}/unsubscribe
  • POST /v1/contacts/{id}/resubscribe
  • DELETE /v1/contacts/{id}
  • GET /v1/segments/{id}
  • PATCH /v1/segments/{id}
  • GET /v1/segments/{id}/count
  • DELETE /v1/segments/{id}
  • POST /v1/templates/{id}/versions
  • GET /v1/templates/{id}
  • GET /v1/templates/{id}/versions
  • POST /v1/templates/{id}/render
  • POST /v1/campaigns
  • PATCH /v1/campaigns/{id}
  • POST /v1/campaigns/{id}/test
  • POST /v1/campaigns/{id}/schedule
  • POST /v1/campaigns/{id}/pause
  • POST /v1/campaigns/{id}/resume
  • POST /v1/campaigns/{id}/cancel
  • DELETE /v1/campaigns/{id}
  • GET /v1/campaigns/{id}
  • GET /v1/campaigns/{id}/report
  • GET /v1/campaigns/{id}/recipients
  • GET /v1/imports/{id}
  • POST /v1/imports/{id}/commit
  • DELETE /v1/imports/{id}
  • POST /v1/exports
  • GET /v1/exports/{id}
  • DELETE /v1/keys/{id}

The response

Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.

{
"type": "https://docs.rhinorelay.com/api/errors/not-found/",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "No such resource in this tenant, or an invalid token.",
"requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"
}

See it

With $BASE and $KEY set as in the quick start:

Terminal window
# Expect 404 not_found
curl "$BASE/contacts/ct_00000000000000000000000000" -H "Authorization: Bearer $KEY"

Every error code