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
Example: I just finished a debugging session that cost me multiple hours TBH.
In the end, the issues was trivial: My API returned Newline-delimited GeoJSON BUT I had a feature per line not a FeatureCollection.
The API and the Web UI did not give any indication on the error.
I finally found an error message, when I used the staging version and uploaded the API response as a file…
Tasks Failed to Build JsResultException(errors:List((,List(JsonValidationError(List('features' is undefined on object. Available keys are 'type', 'id', 'properties', 'geometry'),List())))))
I did not check if this error message is only on staging. Or if it is because I used the Upload (not the API-URL).
In any case, exposing this error to me as a user would have saved me hours…
From a feature point of view…
In case it is complex to expose the error message of an API call to the user in the frontend: Sending emails about error messages from deep inside an async task should be an easy way to work around this. Github does the same when builds fail, for example.
Related: https://osmus.slack.com/archives/C1QN12RS7/p1739266138581449?thread_ts=1739253195.529849&cid=C1QN12RS7
Use Case
When I create a challenge based on an external GeoJSON, something might go wrong.
The admin/user should see the error message of what went wrong so he can fix it.
For example…
The text was updated successfully, but these errors were encountered: