# API Error Codes - Documentation

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown is available with `Accept: text/markdown` and `.md` URL variants.

Source: /docs/api-reference/basic-error-code

# API Error Codes

##

[​](#image-/-video-/-audio)

Image / Video / Audio

Error NameStatus CodeDescriptionINVALID_REQUEST_BODY400Request parameter validation failedIMAGE_FILE_EXCEEDS_MAX_SIZE400Image size exceeds limitINVALID_IMAGE_FORMAT400Image format does not meet requirementsIMAGE_EXCEEDS_MAX_RESOLUTION400Image resolution exceeds limitINVALID_IMAGE_SIZE400Image width or height exceeds limitAPI_NOT_FOUND404API not foundIMAGE_NO_FACE_DETECTED400No face detectedINVALID_CUSTOM_OUTPUT_PATH400Invalid OSS pathILLEGAL_PROMPT400Prompt contains inappropriate contentILLEGAL_IMAGE_CONTENT400Image contains inappropriate contentINVALID_AUDIO_FILE400Invalid audio inputBILLING_FAILED500Billing service errorBILLING_AUTH_FAILED403Billing service authentication failedBILLING_BALANCE_NOT_ENOUGH400Insufficient balanceMISSING_API_KEY400API Key not providedINVALID_API_KEY403API Key validation failedFEATURE_NOT_ALLOWED403No permission to upload modelAPI_NOT_ALLOWED403No permission to use this APIRATE_LIMIT_EXCEEDED429Rate limit exceededNEED_REAL_NAME_VERIFY403Enterprise verification not completedCREATE_TASK_FAILED500Failed to create taskTASK_NOT_FOUND404Task not foundGET_RESULT_FAILED500Failed to get task resultTASK_FAILED500Task execution failed

##

[​](#llm)

LLM

Error NameStatus CodeDescriptionINVALID_API_KEY403API Key not providedMODEL_NOT_FOUND404Model not foundFAILED_TO_AUTH401Authentication failedNOT_ENOUGH_BALANCE403Insufficient balanceINVALID_REQUEST_BODY400Request body format error, see message for detailsRATE_LIMIT_EXCEEDED429Too many requests, please try again laterTOKEN_LIMIT_EXCEEDED429Token limit exceeded, please try again laterSERVICE_NOT_AVAILABLE503Service unavailableACCESS_DENY403Access denied

##

[​](#gpu)

GPU

Error NameStatus CodeDescriptionUNKNOWN500Unknown errorGET_TOKEN_FAILED400Failed to obtain tokenFORBIDDEN403Access forbidden / No permissionUNAUTHORIZED401UnauthorizedUSER_ALREADY_EXISTS400User already existsINVALID_USER_OR_PASSWORD400Invalid username or passwordINVALID_CODE400Invalid verification codeUSER_NOT_FOUND400User not foundUSER_PHONE_NOT_CONSIST400User phone number mismatchSEND_CODE_TOO_FAST429Verification code sent too frequentlyINVALID_PUBLIC_KEY400Invalid public keyUSER_NOT_ACTIVATED400User not activatedUSER_ALREADY_ACTIVATED400User already activatedINVALID_USER_TOKEN400Invalid user tokenBANNED_USER400Account has been bannedRATE_LIMIT_EXCEEDED429Request rate limit exceededRESOURCE_NOT_FOUND400Resource not found (e.g., container not found)CONFLICT400Conflict (e.g., container conflict)VALIDATOR_PARAM400Parameter validation failed / Invalid parameterREQUEST400Request errorOPERATION_LIMIT400Operation limit reachedINSUFFICIENT_RESOURCE400Insufficient resourcesCLUSTER_STATUS400Cluster status abnormalNODE_STATUS400Node status abnormalDEPENDENT_RESOURCE_STATE400Dependent resource state abnormalPREPAID_INSTANCE_NOT_SUPPORT_RELEASE400Prepaid instance does not support releaseCREATING_INSTANCE_NOT_SUPPORT_RENEWAL400Instance in creation does not support renewalINSTANCE_LOCAL_STORAGE_NOT_FOUND400Instance local storage not foundINVALID_COMMAND_PARAM400Invalid instance startup command parameterGPU_SPEC_USED400GPU specification already in useINCORRECT_USER_SYNCER_REQUIRE_PARAMS400Incorrect user syncer request parametersMIGRATE_INSUFFICIENT_RESOURCE400Insufficient resources for migrationWALLET_NOT_FOUND500Wallet not foundWALLET_UNSUPPORT_RECHARGE_METHOD400Unsupported wallet recharge methodBALANCE_NOT_ENOUGH400Insufficient balanceUNSUPPORTED_BILLING_MODE400Unsupported billing modeEXPIRED_OR_BALANCE_NOT_ENOUGH400Expired or insufficient balanceORDER_NOT_FOUND400Order not foundSAVING_PLAN_ALREADY_EXISTS400Saving plan already existsCREATE_INSTANCE_LIMIT400Instance creation limit reached, please recharge or delete other instancesNETWORK_STORAGE_TOO_LARGE400Network storage size exceeds limitCUR_CLUSTER_NETWORK_STORAGE_NOT_SUPPORT400Network storage not supported in current regionNETWORK_STORAGE_IN_USE400Network storage is in useNETWORK_STORAGE_UNAVAILABLE400Network storage unavailableNETWORK_STORAGE_NOT_FOUND400Network storage not foundIMAGE_NOT_FOUND400Image not foundIMAGE_AUTH_IN_USE400Image authentication in useNETWORK_NOT_FOUND400Instance network not foundNETWORK_IN_USE400Instance network in useNETWORK_MAX_LIMIT400Instance network creation limit exceededSEND_MSG_ERROR400Message sending errorJOB_NOT_FOUND400Instance job not foundSERVERLESS_ENDPOINT_NOT_FOUND400Serverless endpoint not foundSERVERLESS_WORKER_NOT_FOUND400Serverless worker not foundSERVERLESS_PRODUCT_NOT_FOUND400Serverless product not foundSERVERLESS_APP_NAME_IS_EXIST400Serverless application name already existsTEMPLATE_IS_PRIVATE400Template is privateTEMPLATE_NOT_FOUND400Template not found

##

[​](#billing)

Billing

Error NameStatus CodeDescriptionUNKNOWN500Unknown error, please contact usLIST_BILL_TOO_FAST429Requests are too frequent, please try again laterINVALID_PRODUCT_CATEGORY400Invalid productCategory parameterINVALID_BILL_CYCLE400Invalid cycle parameterLIST_BILL_ERROR500Query error, please contact us

Last modified on June 6, 2025
