Why won't osm2cdr accept this overpass/osm data?

With this query in Overpass Turbo:

rel(11266687); // Baku Grand Prix Circuit.
way(r);
(._;>;);
out geom;

I exported ‘raw’ osm data to an osm file.

On this page:

scroll down to: ## Upload your OpenStreetMap extract → SVG
I loaded my osm file
I’m getting this error

Could not read geodata from the file. Make sure it is intact and in a supported format (.osm .pbf .geojson .kml .kmz .gpx .shp .zip).

I’ve tried various ‘outs’ for the query, but with no luck.

Can anyone get it to work?

maybe block of nodes is supposed to appear before block of ways · Issue #265 · drolbr/Overpass-API · GitHub is still happening?

(overpass is erroring for me right now and you have not attached sample file so unable to check it myself)

The OSM XML generated by Overpass appears to be valid, but based on tests, osm2cdr seems to require a global <bounds> element in the file. When a global bounding box is defined in the Overpass query using [bbox:{{bbox}}], Overpass includes this <bounds> element in the XML output, and the resulting .osm file is accepted by osm2cdr.

https://overpass-turbo.eu/s/2wsv

By the way, the author of the site is present on the forum: @no87xis

That is the solution. Thanks.

For those using this software I came across a couple of another reason for rejection after I loaded the data into JOSM to manipulate it before saving it back to the osm file & converting to svg - It can’t cope with negative ids which JOSM assigns to newly created objects. After I removed the negative signs in a text editor, osm-cdr accepted the data.