# INTERNAL_RESOURCE_NOT_FOUND: Resource not found.

- Category: Platform
- HTTP status: 404
- Reference: https://docs.bizkithub.com/en/errors/INTERNAL_RESOURCE_NOT_FOUND

## What happened

A specific resource referenced by the request (a record id, slug, hash or token) does not exist in the organisation scope, has been deleted, or the caller has no permission to see it. Attach the missing identifier as parametric context — e.g. `throw ApiError("INTERNAL_RESOURCE_NOT_FOUND", "Calendar 42")`.

## How to resolve

1. Verify the identifier (id, slug, hash, token) is spelled correctly and belongs to the organisation you are authenticated against.
2. Check that the resource has not been soft-deleted in the meantime (most BizKitHub entities keep a deletedDate column).
3. Confirm your API key or session has scope/permission to read this resource type.

## Example response

```json
{
  "state": "error",
  "code": 404,
  "message": "Resource not found.",
  "errorCode": "INTERNAL_RESOURCE_NOT_FOUND",
  "hint": "A specific resource referenced by the request (a record id, slug, hash or token) does not exist in the organisation scope, has been deleted, or the caller has no permission to see it. Attach the missing identifier as parametric context — e.g. `throw ApiError(\"INTERNAL_RESOURCE_NOT_FOUND\", \"Calendar 42\")`.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_RESOURCE_NOT_FOUND"
}
```
