412 Precondition failed doesn't help #1783
Comments
Author: tom[at]compton.nu One of the new features of API 0.6 is that it does indeed return details of what it wrong in the body of the HTTP response. If your client isn't showing that to you then you need to complain to the authors of that client. |
Author: frawe Err sorry, I tried hard to find any hints help me saving my edits but there simply isn't any.
and the body is really empty. I don't know if JOSM would show me any content, but at least in this case it isn't the clients fault. |
Author: smsm1 Can you please attach the osm file, so that I can look into this futher and find the bit of code, which isn't producing the error message? |
Author: frawe Replying to [comment:4 smsm1]:
Attached one. This isn't the originally problematic file as I finally somehow worked around the problem by investing quite some time and fiddling with it in an editor and don't have it anymore. Also I know what the problem in this file is and that this shouldn't happen by using an editor. But it somehow happened and got me in trouble. Note that this not only occurs if a node gets action=delete though still being in a way but also a way gets action=delete though being in a relation. |
Author: grand.edgemaster[at]gmail.com [*] I can confirm that the 412 works as expected with error message on local WebBrick testing servers. [*] I can confirm that the 412 works as expected with error message on api06.dev.openstreetmap.org. [*] I can confirm that the 412 without specific error exists on the production server. |
Author: tom[at]compton.nu This is caused by a lighttpd bug (http://redmine.lighttpd.net/issues/show/1055) and has been fixed by upgraded lighttpd to 1.4.22 on the live site. |
Reporter: frawe
[Submitted to the original trac issue database at 10.02am, Saturday, 2nd May 2009]
Currently I'm stuck having quite a few changes but can't upload them (as diff with JOSM) since the server replies with "Precondition failed" - that doesn't help me even a bit.
Please please make the error message more verbose containing which precondition on which element. That would be a huge help to fix such a problem.
The text was updated successfully, but these errors were encountered: