You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just had the plugin fail to publish a file to curseforge, and it only shows an error where it tried to parse a http response as a json
https://github.com/Vivecraft/VivecraftMod/actions/runs/12402760680/job/34625589433
Expected Behavior
show the complete error
Actual Behavior
only shows Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
To be quite frankly honest with you, I always thought it was reasonable to assume that a JSON API wouldn't throw an HTML page at you :) That said, this is CurseForge we're talking about. What likely happened here is that their API went down, and due to the poor Cloudflare configuration on their side, you received a standard shield page instead of something like HTTP 503. There's not much we can do in such scenarios, unfortunately. However, I could probably make the error message a bit more informative for users in this case?
Description
just had the plugin fail to publish a file to curseforge, and it only shows an error where it tried to parse a http response as a json https://github.com/Vivecraft/VivecraftMod/actions/runs/12402760680/job/34625589433
Expected Behavior
show the complete error
Actual Behavior
only shows
Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Version
3.3
Environment
GitHub Actions
Configuration
No response
Logs
Other Information
No response
The text was updated successfully, but these errors were encountered: