Modify

#24211 closed defect (wontfix)

The OSM server 'https://api.openstreetmap.org/api/0.6/' reported a bad request. Error message(untranslated): Version is required when updating Node [NodeID] at line 3, column 81

Reported by: prototo258@… Owned by: prototo258@…
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. unknown (I changed some tagging of nodes)

What is the expected result?

The changeset would be uploaded to the database.

What happens instead?

I get an error message which is in the title.

Please provide any additional information below. Attach a screenshot if possible.

Revision:19342
Build-Date:2025-03-01 10:11:58

Identification: JOSM/1.5 (19342 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 22H2 (19045)
Memory Usage: 308 MB / 6076 MB (93 MB allocated, but free)
Java version: 21.0.6+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366x768x32bpp@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19342, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1

Last errors/warnings:
- 01027.096 E: Error header: Version is required when updating Node 5748584623 at line 3, column 81
- 01027.296 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Version is required when updating Node 5748584623 at line 3, column 81>
- 01027.338 E: Bad Request - <html>The OSM server 'https://api.openstreetmap.org/api/0.6/' reported a bad request.<br><br>Error message(untranslated): Version is required when updating Node 5748584623 at line 3, column 81</html>
- 01131.479 E: Error header: Version is required when updating Node 5748584623 at line 3, column 81
- 01131.647 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Version is required when updating Node 5748584623 at line 3, column 81>
- 01131.672 E: Bad Request - <html>The OSM server 'https://api.openstreetmap.org/api/0.6/' reported a bad request.<br><br>Error message(untranslated): Version is required when updating Node 5748584623 at line 3, column 81</html>
- 01406.746 E: Error header: Version is required when updating Node 5748584623 at line 3, column 81
- 01406.936 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<Version is required when updating Node 5748584623 at line 3, column 81>
- 01406.974 E: Bad Request - <html>The OSM server 'https://api.openstreetmap.org/api/0.6/' reported a bad request.<br><br>Error message(untranslated): Version is required when updating Node 5748584623 at line 3, column 81</html>

Attachments (0)

Change History (6)

comment:1 by anonymous, 10 months ago

Also, when I got this error, I used overpass API to get data. Which may be a reason why.

comment:2 by anonymous, 10 months ago

Finally found how to get the error. Instead of using JOSM's built-in query builder, use the query from overpass turbo's wizard instead.

comment:3 by gaben, 10 months ago

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

Strange. What was the prompt and the generated query?
Seems like the Overpass output does not contain version metadata.
Also which Overpass endpoint do you use?

Last edited 10 months ago by gaben (previous) (diff)

comment:4 by anonymous, 10 months ago

I used:

[out:json];
node(user_touched:"[USERNAME]");
out geom;

(didn't use the wizard for this prompt)

I think the problem is that instead of XML, it produces JSON.

I suggest that on the error message, the data given should be XML (or any other formatting JOSM supports).

comment:5 by anonymous, 10 months ago

out:json is wrong, JOSM needs xml data format.

comment:6 by stoecker, 10 months ago

Resolution: wontfix
Status: needinfoclosed

You can't upload incomplete information to OSM again. Your information is missing the meta data (like version) from the OSM server.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain prototo258@….
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.