Where you see it
- Your server, mostly on
POST /client-sessions(its body) andGET /chargers(its query). - Your app’s result, when the hosted flow can’t start because the action’s ids are wrong: a
charger_idthat isn’t a UUID, an action other thanaddwithout a charger, or a site with an action other thanadd.
What it means
errors lists every field that failed, by path (scope.chargers.0), each with its messages. detail repeats the first message.
Some fields depend on the caller:
external_user_id,charger_reference,emailandconsent_scopesare for integrations only.redirect_urimust be one of your integration’s Return URLs under Settings > SDK.consent_scopesmay only name scopes Plugchoice allowed your integration.scope.sitescan’t go withexternal_user_idwhen the chargers stay in your users’ own accounts. Usescope.locationas a hint instead.
What to do
- Fix the fields
errorsnames, then send the request again. - In your app, pass a
chargerIdto every action butadd, and asiteIdonly withadd.