Factuarea APIDevelopers

MCP error codes

Every public API error code emitted by MCP, with its HTTP status, its type and a page per code.

Error codes emitted by MCP. Each code links to its own page with the cause and the action to take.

CodeTypeHTTPDescription
mcp_guardrail_violationinvalid_request_error422The call breaks a declared tax rule and was rejected LOCALLY, before anything ran: no document was created, modified or deleted. It is the only code in the catalogue that no API v1 route can emit — whoever receives it is talking over MCP. The subcode says which of the nine guardrails was broken, and the error data carries guardrail_uri (the resource that explains the rule) and rule_id (the specific rule, shaped BR-XXX-NNN).

On this page

Need a hand?Contact support