Errors and troubleshooting
Common integration issues and how to fix them.
401 Unauthorized
Your Project-M API key is missing, invalid, or not being sent in the Authorization header.
Authorization: Bearer YOUR_PROJECT_M_API_KEY
Model not found
The requested model alias is not available or not enabled by the server. Try chinna first, then check model availability through /v1/models.
Failed to fetch
Usually caused by CORS, DNS, backend service downtime, incorrect base URL, or frontend attempting to call a private endpoint directly.
Best practice
Use your own backend as a proxy. Do not expose Project-M API keys in frontend code.