﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5918	"""Bad Request"" when uploading changes"	wiml@…	wiml@…	"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)
}}}"	defect	closed	normal		Core		needinfo		
