Skip to Content
LoremLLM

Errors

Problem responses LoremLLM itself returns, as opposed to errors a scenario scripts.

Scripted errors from error(...) use each provider's own error shape. Errors from LoremLLM itself are application/problem+json (RFC 9457):

{
  "type": "https://www.loremllm.com/docs/reference/errors#no-scenario-matched",
  "title": "No scenario matched",
  "status": 404,
  "detail": "No scenario in support-bot matched the prompt \"cancel my order\"."
}
TypeStatusMeaning
invalid-request400The body isn't valid for this endpoint
unauthorized401A private mock was called without a valid key
forbidden403The key lacks the scope, or the mock is in another project
mock-not-found404No mock has this slug
no-scenario-matched404The mock has no fallback and nothing matched
reply-schema-mismatch422A json reply doesn't fit the request's schema
loremllm-rate-limit429A platform limit was hit
internal500Something broke on our side