Modify ↓
Opened 16 years ago
Closed 16 years ago
#2478 closed defect (fixed)
Upload fails with error 422
Reported by: | elyk | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: | Gubaer |
Description
Using JOSM 1558 I've tried combining two ways and I get an HTTP error 422 when trying to upload.
GET http://www.openstreetmap.org/api/capabilities... OK Communications with http://www.openstreetmap.org/api established using protocol version 0.6 PUT http://www.openstreetmap.org/api/0.6/changeset/create... OK POST http://www.openstreetmap.org/api/0.6/changeset/983166/upload... Unprocessable Entity PUT http://www.openstreetmap.org/api/0.6/changeset/983166/close... OK
My guess is that the tiger:tlid tags from both got combined into a string longer than 255 chars, causing the upload to fail. But that's only my guess. See way 33725567 in the attached patch; the tiger:tlid tag is 273 chars long.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | error422.osm.gz added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Since r1693 max. attribute length of 255 is checked before uploading.
Note:
See TracTickets
for help on using tickets.
I just deleted the long tiger:tlid tag and the upload worked fine. Seems the long tag value was the problem.