lobsite! Sign in Sign up

Docs /

Errors

Every error from the CLI and the API says what happened, why, and what to do. Clients branch on the code, never on the message.

CodeHTTPMeaning
validation.invalid400Invalid request
config.invalid400Invalid lobsite.toml
auth.required401Not logged in
auth.invalid_token401Invalid token
auth.email_unverified403Email not confirmed
auth.forbidden403No access to this site
site.not_found404Site not found
site.expired410Temporary site expired
site.suspended403Site suspended
site.name_invalid400Invalid site name
site.name_taken409Name taken
site.name_system403System name
site.name_reserved403Reserved name
deploy.not_found404Deploy not found
deploy.blobs_missing409Uploads missing
deploy.not_ready409Deploy not ready
deploy.not_uploading409Deploy already finalized
deploy.no_previous409No earlier deploy
content.reserved_path422Reserved path
content.secret_file422Secret file
content.blocked_type422Blocked file type
content.sensitive_form422Sensitive form fields
content.held_for_review202Held for review
limit.files422Too many files
limit.file_size422File too large
limit.site_size422Deploy too large
limit.storage422Storage full
limit.sites422Too many sites
limit.domains422Too many domains
limit.deploy_rate429Too many deploys
limit.submissions429Submission quota used up
domain.invalid400Invalid domain
domain.taken409Domain on another site
domain.not_found404Domain not found
domain.apex_unsupported422Apex domain unsupported
form.not_found404Form not found
feature.coming_soon403Coming soon
upload.hash_mismatch400Hash mismatch
upload.token_invalid401Invalid upload token
upload.token_expired401Upload token expired
upload.too_large413Upload too large
rate_limited429Too many requests
route.not_found404No such endpoint
cli.outdated426CLI outdated
internal500Unexpected error