Error codes


Client Errors

401 - Unauthenticated

Your API key is not recognized. Confirm if you’ve copied it correctly and/or try creating a new one.

403 - Unauthorized

The model is gated and you need to agree to the model’s license before using it. Refer the the model’s page on the platform to provide proper access. There will be a big Unlock Model button as in the image below.

Server Errors

500 - Internal Server Error

The request could not be processed. Check your request for parameters not listed as supported in the API docs.

503 - Service Temporarily Unavailable

A better description of this error is “insufficient model capacity” - i.e. current load is exceeding backend GPUs. This doesn’t mean the service is down.

Default should be to retry the same request. If the problem persists past three retries, the message may be accurate and the model class may be temporarily unavailable, please report on the discord server

503 - No valid Executor/This Model Has No Backend

This means that the model is cold and needs to be warmed up before using it. Refer to the models card on the platform to see the status

This will take some time to load. After the model is warmed up, the error should clear itself. If the model is already warm or the the problem persists after being warmed up. Please report on the discord channel.