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}/unsubscribePOST /v1/contacts/{id}/resubscribeDELETE /v1/contacts/{id}GET /v1/segments/{id}PATCH /v1/segments/{id}GET /v1/segments/{id}/countDELETE /v1/segments/{id}POST /v1/templates/{id}/versionsGET /v1/templates/{id}GET /v1/templates/{id}/versionsPOST /v1/templates/{id}/renderPOST /v1/campaignsPATCH /v1/campaigns/{id}POST /v1/campaigns/{id}/testPOST /v1/campaigns/{id}/schedulePOST /v1/campaigns/{id}/pausePOST /v1/campaigns/{id}/resumePOST /v1/campaigns/{id}/cancelDELETE /v1/campaigns/{id}GET /v1/campaigns/{id}GET /v1/campaigns/{id}/reportGET /v1/campaigns/{id}/recipientsGET /v1/imports/{id}POST /v1/imports/{id}/commitDELETE /v1/imports/{id}POST /v1/exportsGET /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:
# Expect 404 not_foundcurl "$BASE/contacts/ct_00000000000000000000000000" -H "Authorization: Bearer $KEY"