Skip to main content

Error Codes & Troubleshooting

The Finance API returns RFC-7807 compliant error structures with descriptive status messages.

Standard Error Response Format​

{
"statusCode": 409,
"statusMessage": "409 Conflict: Entity 'movement:mov-coto-101' already has revision 1 with different content."
}

HTTP Status Codes Reference​

HTTP CodeNameCauseResolution Flow
400Bad RequestMissing request body or invalid parameters.Verify JSON payload structure and parameter names.
401UnauthorizedMissing API Key or invalid session credentials.Check X-API-Key or Authorization: Bearer <key> header.
403ForbiddenAuthenticated identity is not nicolasdelauretis122@gmail.com.Log in with the authorized Google administrator account.
404Not FoundRequested entity ID does not exist or was soft-deleted.Verify entity identifier and ensure it has not been purged.
409ConflictCAS revision collision or request ID payload discrepancy.Increment revision number or retrieve current state first.
413Payload Too LargeBatch exceeds 50 items.Split ingestion payload into batches of at most 50 events.
422Unprocessable EntityDomain constraint violation (e.g. negative amount, missing category for confirmed expense).Correct business data fields according to schema rules.
429Too Many RequestsRate limit exceeded.Implement exponential backoff and retry after cooldown.
500Internal ErrorDatabase or Worker execution exception.Inspect worker execution logs in Cloudflare dashboard.