Steps to reproduce:
Use the CLI with:
{"id": "green", "url": "{base_url}/images/green.svg", "width": 200, "height": 200},
http://localhost:8080/acme/[email protected]
Error: Expected number between 1 and 2400 for density but received 2880 of type number
With
https://cdn.jsdelivr.net/gh/maputnik/osm-liberty@gh-pages/svgs/svgs_iconset/airport_11.svg
this happens with "width": 200, "height": 200 and @3x.
So for more complex SVGs this seems to happen at a lower width/height and pixel ratio.