Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run returns Unexpected token '<', "<!DOCTYPE "... is not valid JSON #1137

Open
xobs opened this issue Feb 13, 2025 · 1 comment
Open

Run returns Unexpected token '<', "<!DOCTYPE "... is not valid JSON #1137

xobs opened this issue Feb 13, 2025 · 1 comment

Comments

@xobs
Copy link

xobs commented Feb 13, 2025

When going to https://play.rust-lang.org/?version=stable&mode=debug&edition=2021 in a new browser, hitting "Run" returns a compile error of:

Unexpected token '<', "<!DOCTYPE "... is not valid JSON

The actual response looks like a timeout error that the site is trying to parse as some sort of JSON message.

@xobs
Copy link
Author

xobs commented Feb 13, 2025

Ideally, the program would detect an abnormal response and report an error with the backend. Status information would be nice. I wasn't sure if it was an issue with my code or an issue with the backend, as there is no indication that there is a problem on the server side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant