Hydrogen Storefront Customer User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUNDCUSTOMER_
ACCOUNT_ API_ APPLICATION_ NOT_ FOUND Customer Account API application not found.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to REGEX_INVALIDREGEX_
INVALID The Regex is invalid.
Anchor to FieldsFields
- •OBJECT
Catches validation errors when setting up customer authentication for your Hydrogen storefront, so you can quickly fix configuration issues and get customers logging in smoothly.
For example, when setting invalid redirect URLs or JavaScript origins that don't meet security requirements, this error type captures the specific validation failure with clear guidance for resolution.
Use
to:
- Handle customer account configuration errors
- Display specific validation messages for authentication setup
- Identify problematic URL or origin configurations
- Guide developers through Customer Account API requirements
Each error includes the field that failed validation and a descriptive message explaining the specific requirement, making it easier to troubleshoot customer authentication setup.
Learn more about Customer Account API configuration.