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 |
|---|---|---|
|
|
You are trying to run a browser-side function on the server side. On the server side, run the server-side equivalent of the function, available in |
This error can occur when you try to run server-side functions on the browser side. On the server side, run server-side functions, available in On the browser side, 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 |
The |
|
|
You must first initialize the |
The |
|
|
You must first initialize the |
The |
|
|
You must first initialize the |
The |
|
|
You must first initialize the |
The |
|
|
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 Cloud SDK. Import |
Use the |
|
|
You must first initialize the Cloud SDK. Import |
Use the |
|
|
You must first initialize the Cloud SDK and the |
Use the |
|
|
You must first initialize the Cloud SDK and the |
Use the |
|
|
You must first initialize the Cloud SDK and the |
Use the |
|
|
You must first initialize the Cloud SDK and the |
Use the |
|
|
|
This error occurs when you try to use Cloud SDK functionalities that depend on multiple packages. Install and initialize all the required packages. |
|
|
|
This error occurs when you try to use Cloud SDK functionalities that depend on multiple packages. Install and initialize all the required packages. |
IV errors
IV errors are related to incorrect values and wrongly formatted objects.
|
Code |
Description |
Solution |
|---|---|---|
|
|
Incorrect value for |
See examples of |
|
|
Incorrect value for |
See examples of |
|
|
Incorrect value for |
See examples of |
|
|
|
Make sure your extension data object contains maximum 50 attributes. |
|
|
Incorrect value for |
See requirements for timeout. |
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 set up your local development environment. |
|
|
|
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 set up your local development environment. |
|
|
|
See examples of |
|
|
|
See examples of correctly formatted data. |