Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Cold Storage API

Errors

Shield API returns various error codes depending on the type of failure encountered. Each error response includes an HTTP status code, an error code, and a descriptive message.

Error Response Format

{
  "message": "Error description",
  "code": "ERROR_CODE"
}

OTP Errors

HTTP StatusError CodeMessage
429OTP_RATE_LIMITRate limit exceeded to generate OTP
422OTP_EXPIREDOTP is expired
400OTP_INVALIDATEDOTP invalidated after max failed attempts
400OTP_INVALIDReceived otp is invalid
400OTP_REQUESTED_BUT_NOT_SENTOTP was requested but not sent
428OTP_MISSINGOTP is required for this request
404OTP_RECORD_NOT_FOUNDOTP record not found for user
400OTP_USER_INFO_MISSINGMissing user information like email or phone number
400OTP_NOT_SUPPORTEDProject doesn't support OTP
409OTP_ALREADY_ENABLEDProject already has OTP enabled

Project Errors

HTTP StatusError CodeMessage
404PJ_NOT_FOUNDProject not found
409EC_EXISTSEncryption part already exists
409EC_MISSINGThe requested share have project entropy and encryption part is required
400EC_INVALIDInvalid encryption part
400EC_INVALIDInvalid encryption session

Share Errors

HTTP StatusError CodeMessage
404SH_NOT_FOUNDShare not found
409SH_EXISTSShare already exists

User Errors

HTTP StatusError CodeMessage
404US_NOT_FOUNDUser not found
404US_EXT_NOT_FOUNDExternal user not found
409US_EXT_EXISTSExternal user already exists
400USER_CONTACTS_MISMATCHUser contact information mismatch
400EMAIL_INVALIDProvided Email is invalid
400PHONE_INVALIDProvided phone number is invalid

Provider Errors

HTTP StatusError CodeMessage
400PV_UNKNOWNUnknown provider type
400PV_MISSINGMissing provider
404PV_NOT_FOUNDProvider not found
400PV_CFG_INVALIDInvalid provider config
400PV_CFG_INVALIDMissing key type
400PV_CFG_INVALIDInvalid PEM certificate
409PV_CFG_INVALIDJWK and PEM cannot be set at the same time
409PV_EXISTSCustom authentication already registered for this project

Authentication Errors

HTTP StatusError CodeMessage
401A_MISSINGMissing API key
401A_MISSINGMissing API secret
401A_MISSINGMissing token
401A_MISSINGMissing auth provider
401A_INVALIDInvalid API key or API secret
401A_INVALIDInvalid token
401A_INVALIDInvalid auth provider

General Errors

HTTP StatusError CodeMessage
500INTERNALInternal error
500MISSING_NOTIFICATION_SERVMissing notification service
400BAD_REQUESTVarious messages
Presented By
Openfort Logo