Opened 11 years ago

Closed 7 weeks ago

#2048 closed defect (invalid)

non-specific data invalid error should be more focuses

Reported by: tylerritchie Owned by: rails-dev@…
Priority: minor Milestone:
Component: api Version:
Keywords: error message Cc:


When uploading data, ways of length zero generate the error "Cannot create way: data is invalid." (found in way.rb) It would be more helpful to have "Cannot create way: data is invalid. (reason)" for the error, and even more helpful to return the uploading way id (the negative id for new ways, or the changed way id for changed ways).

Change History (2)

comment:1 Changed 9 years ago by Tom Hughes

Owner: changed from Tom Hughes to rails-dev@…

comment:2 Changed 7 weeks ago by mmd

Resolution: invalid
Status: newclosed

Error message is "Way %1% must have at least one node" by now.

Closing here.

Note: See TracTickets for help on using tickets.