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

Hello! We receive "500 Internal Server Error" every time when sending requests to the test server using this URL: and our Consumer Key and Consumer Secret. The requests are build via different libraries and Postman app. We also tested once against the main server just to check if our Consumer Key and Consumer Secret are valid and we received a proper response with Token and Token Secret. Can you please give us a hint on what can be wrong?

asked 05 Dec '16, 09:09

tester4321's gravatar image

accept rate: 0%


Just to be clear - the api06 dev server and the live server use completely different sets of accounts. Can you login to the dev server from e.g. ?

(05 Dec '16, 09:26) SomeoneElse ♦

I encountered similar problem and dug down to find out origin of the problem.

There may be two type of origins:

  1. Redirection. Protocol of dev server have been changed to HTTPS from HTTP. The DEV server returns 301 (Moved Permanently) response for HTTP request, but some framework doesn't handle it.
  2. Certificate hostname mismatch. HTTPS connection does confirming identify of the target server as well as encrypting contents. Basic confirming procedure is done by comparing hostname with commonName field in the certificate. The DEV server utilizes virtual host. It means that the server's action will be different for each requested domain. For this scheme is working, it is needed to send domain name when you retrieve certificate. However, some old SSL library or languages doesn’t have such feature. The DEV server returns a certificate for ‘’ when no domain specified and identifying procedure fails.


  1. Replace http:// to https://. Note that it will introduce the second problem.
  2. If there is no change in server then you can do two things – 1) Upgrade your framework or language with latest version. 2) Disable identifying process (I checked some framework and languages, but they didn’t give this option. You may modify core library manually) However, I think that it would better to hand it over to OSM developers.
permanent link

answered 22 Mar '17, 15:41

nrimbo's gravatar image

accept rate: 0%

edited 22 Mar '17, 15:59

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 05 Dec '16, 09:09

question was seen: 2,351 times

last updated: 22 Mar '17, 15:59

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