Below are examples of some typical errors that can be detected using the browser console.

401 and “An Error Occurred While Receiving Data” Errors

401 and and “An Error Occurred While Receiving Data” errors frequently occur if user session authorization has expired, either in Studio or in the application Workplace. An example of this situation is shown below.

00001.png

Note that in some cases, 503 Service Not Available error can be shown on the main application page, while the real error will still be 401 not authorized.

To fix this error, refresh your browser page (Ctrl-F5 in Chrome on Windows, Cmd-Shift-R on MacOS), and login into the application again. If that does not help, click the icon with your profile photo in the top right corner, and select log out, then log in again. Finally, clear the browser cache (as described here) and log in again.

409 Conflict

409 HTTP response code Conflict can occur if for example, your component definition is outdated - because someone else has updated it or for other reasons.

00002.png

To fix this error, force-refresh your browser page (Ctrl-F5 in Chrome on Windows, Cmd-Shift-R on MacOS).

Error Executing Component (Initial) Script

Error Execute Init Script (as shown on the screenshot below) can occur if, for example, your Python initialization (Component) script tries to access unproperly defined or missing fields. For example, in the error log below it seems like the Model attribute was used improperly, or the Model variable was not defined as Global (see the second example below) to be accessed in built-in functions.

Untitled

Untitled

Fixing these errors requires reviewing your Component Script accessible via Applications→Components→<YourComponentName>→Settings→Component Script.