Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
Digital Commerce SDK Architecture
SDK Core Class Structure and Methods
Digital Commerce SDK Troubleshooting
Digital Commerce Web Components
This topic provides hints and tips for troubleshooting and fixing common issues while using the Vlocity SDK.
In the following code sample, the SDK does not return correct data even though the fields have data in the Salesforce cache:

The API response is as follows:

The root cause of this issue is that the SDK maps fields in the following format:
1namespace__fieldnameYou should ensure that the namespace specified in the SDK matches the one defined for the org.
1this.digitalCommerceSDK.namespace = "vlocity_cmt";After setting the correct namespace, the SDK will return correct values from related fields.
