This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
During registration I get 400 error and similar output from API: {
"errors": [
{
"code": "VIOLATION::NO_SUCH_CHOICE_ERROR",
"status": "400",
"title": "Constraint violation error",
"detail": "The value you selected is not a valid choice.",
"source": {
"pointer": "/storefrontUrl"
},
"meta": {
"parameters": {
"{{ value }}": "http://192.168.0.103:3000//",
"{{ choices }}": "http://sw-6-production.local/"
}
}
}
]
}
|
Beta Was this translation helpful? Give feedback.
Answered by
mkucmus
Jul 26, 2021
Replies: 1 comment
-
the Normally, the value for |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mkucmus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the
storefrontUrl
is an additional validation for registering purposes, and is being validated against the available domains registered in the specific sales channel in Shopware 6 admin panel.Normally, the value for
storefrontUrl
parameter is taken frompwaHost
config stored inshopware-pwa.config.js
file.That's why pwaHost should match the domain entries configured in Shopware 6 instance.