Skip to content
  • There are no suggestions because the search field is empty.

How to check for 500 Errors in our Hands-On Lessons

This article will provide you options for resolving 500 errors during training.

Error:

Screenshot 2025-04-10 160601

 

The most common cause for this error is a syntax or compilation issue in your code submission.

You can debug your code inside of the sandbox by interacting with the sandbox application after saving your code, then looking for stack traces in the Sandbox Output. You can also put print statements in your code submission and interact with the sandbox application, then look in the Sandbox Output for your print statements. This is explained more in-depth below.

Debugging in our Main UI

After changing the code in the Code Editor tab, click Save Code & Run Tests. This will update the code running on your sandbox:

Screenshot 2025-04-10 161856

 

Now try running the sandbox web application by using the functionality you patched (e.g. log in, search, etc) to find the error. 

Screenshot 2025-04-10 161641

 

You will see any errors in the "Sandbox Output" section on the bottom of the screen.

Screenshot 2025-04-10 161734

Clicking Sandbox Output will show you any print/stdout/stderr output and any stack traces from your code. For tips on getting output through print statements check out this article.

Screenshot 2025-04-10 161659

 

If you are having trouble debugging your code, you can reach out to Customer Support by using the the green chat bubble in the bottom right of the screen. Our support team can help!