SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

[BUG] ... When attempting to run npm run crm-sync:sf:b2cinstance:setup im getting a 400 error #266

Closed blackburnw closed 3 months ago

blackburnw commented 3 months ago

Describe the bug When attempting to run npm run crm-sync:sf:b2cinstance:setup im getting a 400 error. The previous command to seed the b2cclientid works as expected though.

It appears to be failing in the below flow.

The config url: sandbox.lightning.force.com/services/data/v51.0/actions/custom/flow/B2CInstanceSetup

The steps are confirming: B2C Client ID exists, B2C Instance record exists, The default B2C Instance exists and resetting default values was successful

But it is erroring right after attempting: -- Seeding B2C CustomerLists and Sites for this B2C Instance in the Salesforce Org

Expected behavior I would have expected this command to run successfully, the same as the previous command.

Screenshots If applicable, add screenshots to help explain your problem.

Your local environment details:

Your remote environment details:

blackburnw commented 3 months ago

After some help trouble shooting with a Service cloud Developer, it was determined Remote Site Settings were missing in Service Cloud.

To trouble shoot the Flow, the service cloud developer had me got to Paused and Failed Flow Interviews to find the cause of the error.

prabhakaraiit commented 1 month ago

Hi @blackburnw ,

I am facing the same error, can you please guide me how did you resolve the issue? Sorry, I am not able to understand what do you mean by "Remote Site Settings were missing in Service Cloud"?

What URL do I need to white list? can you please guide further?