Magisterium AI

Error Handling

Here is an overview of the error codes you may encounter:

CodeMessageDescription
400Token limit exceededPlease ensure you are using the correct API key and sending it properly.
401Incorrect API key providedPlease ensure you are using the correct API key and sending it properly.
401Tier not foundYou are currently on an invalid service tier. Please contact us for assistance.
402spend_cap_exceededYour API key or your organization has reached its monthly spend cap. In the developer console, raise or remove the organization cap under Billing & Usage, or the key's own cap in the API Console — or wait for the next billing period.
429Too many requestsYou have exceeded the rate limit. Please check your usage and upgrade to a paid plan if necessary.
500Internal server errorIssue on our end. Please try again later, check our status page, or contact us for assistance.