mapbox / mapbox/mapbox-gl-js

Some styles will cause internal server error when rendered via the static images api

Open
#13,470 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs information :pray:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**: Static images api

**browser**: Chrome

### Steps to Trigger Behavior

1. https://api.mapbox.com/styles/v1/pattern-geo/cmaatm5oe00jz01s51nxbg11g/static/13.0608,55.581,12,0/400x400?access_token=MYACCESSTOKEN

It works for lower zoom levels (10 for exemple),
The style does also not render correct in the https://docs.mapbox.com/playground/static/

### Expected Behavior
Should render an image

### Actual Behavior
Returns internal server error

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied Static Images API request and compare it with a lower zoom level that works. Check the Static Images API and the linked playground behavior for the same style, then identify why rendering returns an internal server error. Done means the style renders an image successfully at the reported zoom and behaves correctly in the playground.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.