Skip to main content

Error Codes

This page provides a comprehensive reference of error codes returned by the Webull OpenAPI.

Error Response Format

All error responses follow a consistent JSON structure:

{
"error_code": "ERROR_CODE",
"message": "A human-readable description of the error."
}

Error Code Reference

HTTP Statuserror_codeMessageDescription
401MISSING_APP_KEYHeader x-app-key is missing.The required x-app-key header was not included in the request.
401MISSING_SIGNATUREHeader x-signature is missing.The required x-signature header was not included in the request.
401MISSING_ALGORITHMHeader x-signature-algorithm is missing.The required x-signature-algorithm header was not included in the request.
401MISSING_NONCEHeader x-signature-nonce is missing.The required x-signature-nonce header was not included in the request.
401MISSING_TIMESTAMPHeader x-timestamp is missing.The required x-timestamp header was not included in the request.
401INVALID_TOKENHeader x-access-token is missing or invalid.The x-access-token header is missing or contains an invalid value.
401UNAUTHORIZEDInvalid credentials. Please verify your credentials and ensure you are connecting to the correct environment.The app_key/app_secret is invalid, expired, revoked, disabled, or being used against the wrong environment.
401UNAUTHORIZEDHeader x-signature is invalid.The request signature does not match the expected value. Verify your signing logic.
401UNAUTHORIZEDAccess denied. The request IP does not match your configured settings.The source IP address is not in the configured IP whitelist.
401UNAUTHORIZEDAccess denied. Please contact support for more details.An internal error occurred while validating IP whitelist configuration.
401UNAUTHORIZEDYour app key has been disabled. Please contact support for more details.Your app key has been disabled by an administrator.
401UNAUTHORIZEDYour authorization has been revoked. Please contact your administrator.The developer authorization has been revoked.
401UNAUTHORIZEDYour app key is not in a valid status. Please contact support for more details.Your app key is in an invalid state (not activated, suspended, etc.).
401ILLEGAL_TIMESTAMPHeader x-timestamp is invalid.The x-timestamp value is not in the expected ISO 8601 format or outside the acceptable time window.
401VERSION_NOT_SUPPORTEDHeader x-signature-version is invalid.The x-signature-version is not supported. Currently only 1.0 is supported.
401SIGNATURE_ALGORITHM_NOT_SUPPORTEDHeader x-signature-algorithm is invalid.The signing algorithm is not supported. Use HMAC-SHA1.
401ROUTE_NOT_PERMITTEDYou do not have permission to access this endpoint. Please contact support to request access.Your application does not have permission to call this API endpoint.
401UNAUTHORIZED_STREAM_DATAInsufficient permission. Please subscribe to the required market data and try again.Your application has not subscribed to the required market data feed. OpenAPI market data subscriptions are independent from Webull app subscriptions.
403ACCOUNT_ACCESS_DENIEDInvalid account or insufficient permissions.The account_id does not belong to the authenticated credentials, or there is an account_id mismatch between URL parameters and headers.
403ROUTE_NOT_PERMITTEDYou do not have permission to access this endpoint. Please contact support to request access.Your application does not have permission to call this API endpoint.
403MARKET_DATA_NOT_SUBSCRIBEDInsufficient permission. Please subscribe to the required market data and try again.Market data subscription is required.
403APP_NOT_ACTIVATEDYour app is not activated. Please contact support for more details.Your application has not been activated.
500SYSTEM_ERRORAn unexpected error occurred. Please try again later or contact support for more details.An internal server error occurred. Retry with exponential backoff or contact support.
500INTERNAL_SERVER_ERRORAn unexpected error occurred. Please try again later or contact support for more details.A transient internal error. Retry or contact support if the issue persists.