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
Related to the discussion in #790, we should improve the error message on the shapefile upload for boundaries. When an error is encountered, the error message returned is simply: Error - check that your upload is a valid shapefile.
However, in the dev console, we see that a more specific error is returned:
"errors":{"message":"Shapefile must include a .prj file"}
or
"errors":{"message":"Feature is not a MultiPolygon or Polygon"}
The UI should return the more specific error message so the user knows what is wrong with the upload without having to dig into the dev console.
In addition, the response returns a 201 Created, which seems incorrect, and should probably be some 400-level response.
The text was updated successfully, but these errors were encountered:
Related to the discussion in #790, we should improve the error message on the shapefile upload for boundaries. When an error is encountered, the error message returned is simply:
Error - check that your upload is a valid shapefile
.However, in the dev console, we see that a more specific error is returned:
or
The UI should return the more specific error message so the user knows what is wrong with the upload without having to dig into the dev console.
In addition, the response returns a
201 Created
, which seems incorrect, and should probably be some 400-level response.The text was updated successfully, but these errors were encountered: