Invite Not Found

invite-not-found · 404

The API found no open invite by that id, or by that link's token.

On the workspace's own routes, resourceId is the invite's id. On a link's routes, under /v1/invites/<token>, it is the token, and an unknown token and a revoked one look alike.

Besides the members every error carries, this type adds resourceType and resourceId.

Common causes

  • The invite was accepted or revoked: either one deletes it.
  • The invite was sent again: a resend gives it a new token, and the old link stops working.
  • The invite expired, and was cleared away 7 days later.
  • The workspace the invite is into was deleted.

How to fix the call

  • Read resourceId and compare it with the value you meant to send.
  • List the open invites with GET /v1/workspaces/<workspace>/members: they are under invites.
  • Ask the workspace's owner or an admin for a new invite.
  • Don't retry unchanged: the same call answers the same 404 for as long as nothing changes.

Example response

json
{
  "type": "invite-not-found",
  "title": "Invite Not Found",
  "detail": "Invite with ID '0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402' was not found",
  "resourceType": "Invite",
  "resourceId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/workspaces/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/members/invites/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "method": "DELETE",
  "instance": "DELETE /v1/workspaces/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/members/invites/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "status": 404,
  "docs": "https://ghaym.me/docs/errors/invite-not-found"
}