title: Error while uploading "osmapi.OsmApi.ApiError: Request failed: 404 - Not Found - b''
body: <p>I've just started to explore Python OSM API and tried to upload a &quot;way&quot; into Open Street Map.</p>
  <pre class="lang-py prettyprint-override"><code>import osmapi
  api = osmapi.OsmApi(api = &quot;https://api06.dev.openstreetmap.org&quot;, username = &quot;*******&quot;, password =******)
  cs = api.ChangesetCreate()
  start = api.NodeCreate({&quot;lon&quot;:39.77188512682915,&quot;lat&quot;:40.99645466061746,&quot;visible&quot;:True})
  stop = api.NodeCreate({&quot;lon&quot;:39.77237597107887,&quot;lat&quot;:40.99594855924428,&quot;visible&quot;:True})
  wayPoints = [start[&quot;id&quot;], stop[&quot;id&quot;]]
  way = api.WayCreate({&quot;nd&quot;:wayPoints ,&quot;visible&quot;:True})
  api.ChangesetUpload([{&quot;type&quot;:&quot;way&quot;,&quot;action&quot;:&quot;create&quot;,&quot;data&quot;:way}])
  api.ChangesetClose()
  </code></pre>
  <p>After the execution, &quot;Request failed: 404 - Not Found - b&quot; error occurred. Am I doing something wrong or incomplete?</p>