Skip to content

fix: report an unreadable online style as INVALID_ONLINE_STYLE - #86

Merged
gmaclennan merged 1 commit into
fix/validate-remote-jsonfrom
fix/invalid-online-style
Oct 23, 2026
Merged

gmaclennan merged 1 commit into
fix/validate-remote-jsonfrom
fix/invalid-online-style

Conversation

@gmaclennan

Copy link
Copy Markdown
Member

A Mapbox style that is not JSON, lacks version, sources or layers, or has sprite or glyphs of the wrong type now gets a 502 with the reason, rather than a generic 500 or being passed on unchanged.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@gmaclennan
gmaclennan added this pull request to stack #87 October 23, 2026 21:56
A Mapbox style that is not JSON, lacks version, sources or layers, or has sprite or glyphs of the wrong type now gets a 502 with the reason, rather than a generic 500 or being passed on unchanged.
@gmaclennan
gmaclennan force-pushed the fix/invalid-online-style branch from 9903049 to 0f071f8 Compare October 23, 2026 22:04
@gmaclennan
gmaclennan merged commit ad14ea8 into main Oct 23, 2026
14 checks passed
@gmaclennan
gmaclennan deleted the fix/invalid-online-style branch October 23, 2026 22:06
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

Successfully merging this pull request may close these issues.

1 participant