You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a created project using command npx pwa-kit-create-app --outputDir <project-name> and then changed the values of clientId, organizationId, shortCode, siteId in app/commerce-api.config.js file according to my sandbox instance. But I am unable to run the project, I have checked Commerce API's on postman and Commerce API's are working fine. I am seeing this error when visit http://localhost:3000/:
Sorry, there is a problem with this page 😔
To continue, go back home.
Go Back Home
Error: Client Authentication failed
at //build/ssr.js:57072:15
at Generator.next ()
at asyncGeneratorStep (//build/ssr.js:64:24)
at _next (//build/ssr.js:86:9)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Can anyone help here? I am using "pwa-kit-react-sdk": "1.0.0".
The text was updated successfully, but these errors were encountered:
There are two places where values for the sandbox instance are defined: commerce-api.config.js and package.json (in the proxtConfigs section of ssrParameters).
Once these are set to your sandbox's values and you are still encountering the error then, as @kevinxh suggested, it is probably due to the SLAS client associated with your API key or the SLAS tenant associated with your sandbox not being configured.
We haven't heard back from you in a while so we'll be closing this issue. If you continue to encounter issues with your sandbox setup, please file a support ticket at help.salesforce.com and our support team will be able to assist you further.
I have a created project using command
npx pwa-kit-create-app --outputDir <project-name>
and then changed the values of clientId, organizationId, shortCode, siteId in app/commerce-api.config.js file according to my sandbox instance. But I am unable to run the project, I have checked Commerce API's on postman and Commerce API's are working fine. I am seeing this error when visit http://localhost:3000/:Sorry, there is a problem with this page 😔
To continue, go back home.
Go Back Home
Error: Client Authentication failed
at //build/ssr.js:57072:15
at Generator.next ()
at asyncGeneratorStep (//build/ssr.js:64:24)
at _next (//build/ssr.js:86:9)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Can anyone help here? I am using "pwa-kit-react-sdk": "1.0.0".
The text was updated successfully, but these errors were encountered: