NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have been working with kenguest api http://wiki.openstreetmap.org/wiki/User:Kenguest and it bothers me a lot. We are already using the search api in php. Now when trying to push some update this error came in

thrown in D:\projects***\libraries\osm\Services\OpenStreetMap\Transport\HTTP.php on line 162 [30-Apr-2014 14:04:33 UTC] PHP Fatal error: Uncaught exception 'Services_OpenStreetMap_Exception' with message 'Unexpected HTTP status: 401 Authorization Required' in D:\projects***\libraries\osm\Services\OpenStreetMap\Transport\HTTP.php:162 Stack trace:

0 D:\projects***\libraries\openstreetapi.php(173): Services_OpenStreetMap_Transport_HTTP->getResponse('http://api.open...', 'PUT', '*', '*', '<?xml version="...', NULL, Array)

the username and password are correct no doubt about it. Following the details from here http://wiki.openstreetmap.org/wiki/OsmChange tried using the username instead of the email and still does not work. I am able to login with this credentials and able to search also. I'm asking for advice. Please help.

This question is marked "community wiki".

asked 30 Apr '14, 15:42

Eksilente's gravatar image

Eksilente
11112
accept rate: 0%

closed 30 Apr '14, 17:28

Richard's gravatar image

Richard ♦
30.9k44279412

The question has been closed for the following reason "User fixed own problem" by Richard 30 Apr '14, 17:28


I've got it figured it out. I've set my password with something like test12345^ with hypen and then when I change my password with no hypen then it is working now.

I would like to suggest to not include special characters in the beginning in creating an account, that might affect the api. Or any other workaround.

permanent link

answered 30 Apr '14, 16:19

Eksilente's gravatar image

Eksilente
11112
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1

question asked: 30 Apr '14, 15:42

question was seen: 2,334 times

last updated: 30 Apr '14, 17:28

Related questions

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum