Docs / Reference / Errors

Errors

Error shape and the codes you may encounter.

Error object

All SDK errors share a consistent shape with a stable code, a human message, and the originating product.

Common codes

CodeMeaningFix
auth_invalid_keyKey missing or revokedCheck the key in the dashboard
rate_limitedToo many requestsBack off and retry; see Rate limits
unsupported_inputBad media formatConvert to a supported format
Nosmai

We make advanced camera and AI technology accessible to every developer. By packaging hard problems into simple

developers
legal
newsletter

Product updates and release notes. No spam.

© 2026 nosmai, inc · all rights reserved