invalidAppKey | The key is malformed, revoked, or not allowed for this bundle ID. | Check the key and the bundle IDs in the dashboard. |
permissionDenied | The person declined photo access. | Explain the benefit and link to Settings. |
grantRevoked | The grant was revoked. | Stop, or ask again when the person returns to the feature. |
grantExpired | The grant’s expiry passed. | Request a new grant. |
grantNotFound | No such grant on this device. | Request a grant. |
operationNotGranted | The grant does not include this operation. | Request a grant with it. |
invalidRequest | An access request names nothing, or sources the configuration leaves out. | Fix the request. The message says which part. |
unsupportedQuery | The query asks for something version 1 cannot do. | The message says what. |
invalidCursor | The cursor belongs to an index that was rebuilt. | Start from the first page. |
notFound | The evidence or thing does not exist or is outside the grant. | Treat as gone. |
offline | A service call could not connect. | Nothing. The on-device engine keeps working. |
rateLimited | The service asked the SDK to wait, or the app used its allowance. | Nothing for indexing: the SDK waits by itself. ask and profile throw it while the wait lasts, with the seconds left in retryAfter. |
serviceUnavailable | Pool’s service cannot do this right now. | Retry after retryAfter seconds. The on-device engine keeps working. |
service | The service answered with an unexpected status. A 401 means App Attest is enforced and this build could not attest, for example a development build with a live key. | Retry later. For a 401, check the App Attest capability and use a test key in debug builds. |
storage | The index could not be read or written. | rebuildIndex() recovers it. |
modelsUnavailable | The engine’s models could not be listed, downloaded or verified. | Nothing. PoolKit works without them and tries again later. |
cloudAssistNotAllowed | ask or profile needs cloud assist, and the configuration or the grant does not allow it. | Ask for a grant with allowsCloudAssist, or hide the feature. |
invalidSchema | A profile schema is outside the supported subset or over a limit. | Fix the schema. The message says which part. |