Modify

Opened 15 years ago

Closed 13 years ago

#5918 closed defect (needinfo)

"Bad Request" when uploading changes

Reported by: wiml@… Owned by: wiml@…
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by skyper)

When trying to upload the deletion of the duplicated objects I uploaded while working with #5917, I got a "bad request" error. Here's what showed up on josm's stdout:

GET http://api.openstreetmap.org/api/0.6/changesets?user=223681&open=true
PUT http://api.openstreetmap.org/api/0.6/changeset/7224101... OK
POST http://api.openstreetmap.org/api/0.6/changeset/7224101/upload... Bad Request
Error body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at api.openstreetmap.org Port 80</address>
</body></html>

org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Body=<<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at api.openstreetmap.org Port 80</address>
</body></html>>
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:596)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:479)
	at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:429)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:163)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:205)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:236)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

Attachments (0)

Change History (4)

comment:1 by anonymous, 15 years ago

This was with josm r3867. I tried again with r3854 and r3788 and got the same error. ---wiml

comment:2 by bastiK, 15 years ago

Please save as and attach the file.

comment:3 by anonymous, 14 years ago

Owner: changed from team to wiml@…
Status: newneedinfo

comment:4 by skyper, 13 years ago

Description: modified (diff)
Resolution: needinfo
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain wiml@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.