Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred with your "B2C Commerce: Process: Create Or Update Contact" flow #274

Open
ddxxtony opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ddxxtony
Copy link

ddxxtony commented Jun 20, 2024

Describe the bug

In general, the integration has been working fine, but while sending new accounts from SFCC to SFSC I've been intermittently getting an error around 5 times a month. One thing I've noticed is that accounts are still being created despite these errors. The accounts are created at the same time that I get the error emails.

The element where the flow fails: CREATE RECORDS: Create B2C Business Contact Record

The error I get on the SFCC side is the following: "Thu, 18 Apr 2024 23:12:58 GMT: Status 400 (Bad Request): [{"actionName":"B2CContactProcess","errors":[{"statusCode":"UNKNOWN_EXCEPTION","message":"An error occurred when executing a flow interview.","fields":[]}],"isSuccess":false,"outputValues":null,"version":1}]"

And in Service Cloud, I get this: [External] An error occurred with your "B2C Commerce: Process: Create Or Update Contact" flow

Error Occurred: This error occurred when the flow tried to create records: DUPLICATE_VALUE: duplicate value found: B2C_Customer_ID__c duplicates value on record with id: 003PY0000xxxxxxxxx. You can look up ExceptionCode values in the...

To Reproduce
Unfortunately I haven't been able to replicate this error as it happens very randomly.

Expected behavior
I shouldn't receive any error while syncing accounts from SFCC to SFSC

Screenshots
image

Your local environment details:

  • @salesforce/cli/2.30.8 win32-x64 node-v18.18.0

Your remote environment details:

  • Salesforce B2C Commerce version: v21_3
  • Salesforce Core version: 59

Additional context

@ddxxtony ddxxtony added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant