GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Premium account giving invalid credentials error sometimes  XML
Forum Index -> FAQ - frequently asked questions
Author Message
bridge-team@leadformance.



Joined: 29/01/2016 11:10:20
Messages: 1
Offline

Hello I have the following issue with the requests to premium account. I know my credentials and url are valid because most of the times I'm getting the correct results back, but once in a while I'm getting

Code:
 {"status":{"message":"Please provide a valid username for the GeoNames Premium Web Service or use the free api.geonames.org server. Thank you for your understanding.","value":10}}
 


The URL I'm using is:
Code:
 "http://ws.geonames.net/searchJSON?country=pl&fcode=ADM1&maxRows=500&style=full&token=[REMOVED]&username=[REMOVED]
 


Any help or explanation why this happens would be much appreciated. It's quite impossible to write a good client code having this error appearing sporadically.
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Hi

Is it possible you have blanks in the url sometimes? This would lead to the error you describe:
http://forum.geonames.org/gforum/posts/list/8.page

Best Regards

Marc

[WWW]
 
Forum Index -> FAQ - frequently asked questions
Go to:   
Powered by JForum 2.1.5 © JForum Team