Troubleshooting the Cloud SDK
This topic describes the most common errors in the console or terminal, and solutions when using the Sitecore Cloud SDK.
IE errors
IE errors are related to initializing the Cloud SDK. You must resolve these errors for the Cloud SDK to function properly.
|
Code |
Description |
Solution |
|---|---|---|
|
|
The |
This error can occur when you call functions that require the Make sure to call these functions where the |
|
|
Timeout exceeded. The server did not respond within the allotted time. |
This error occurs when you call a function with the When you use |
|
|
Unable to set the |
This error occurs if:
When you initialize the Cloud SDK, use try-catch blocks to handle errors. |
|
|
You must first initialize the |
See examples of initializing the module. |
|
|
You must first initialize the |
See examples of initializing the module. |
|
|
You must first initialize the |
See examples of initializing the module. |
|
|
You must first initialize the |
See examples of initializing the module. |
|
|
Unable to set the |
This error occurs if:
When you initialize the Cloud SDK, use try-catch blocks to handle errors. |
IV errors
IV errors are related to incorrect values and wrongly formatted objects.
|
Code |
Description |
Solution |
|---|---|---|
|
|
Incorrect value for Format the value according to ISO 8601. |
See examples of correctly formatted data for |
|
|
Incorrect value for | |
|
|
Incorrect value for Format the value according to ISO 8601. | |
|
|
|
Make sure your |
|
|
Incorrect value for |
|
MV errors
MV errors are related to missing values.
|
Code |
Description |
Solution |
|---|---|---|
|
|
|
Set the value to your Context ID. By the time you start working with the Cloud SDK, your Context ID is already set in your app's environment variables. See connecting your JSS Next.js front-end app to the Experience Edge endpoint. |
|
|
|
Set the value to your site name. By the time you start working with the Cloud SDK, your site name is already set in your app's environment variables. See connecting your JSS Next.js front-end app to the Experience Edge endpoint. |
|
|
|
See examples of correctly formatted data for |
|
|
|
See examples of correctly formatted data. |