Weather API has been working. Now it's not...with no changes. Getting invalid URL.

  • 1
  • Question
  • Updated 5 years ago
Weather API has been working form months. All of a sudden it doesn't. Getting:
Invalid URL
The requested URL "/api/{key}#47;geolookup/conditions/forecast10day/q/28027.xml", is invalid.
Reference #9.742c0e6b.1380302378.541f40e



Photo of bsnuggs

bsnuggs

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of bsnuggs

bsnuggs

  • 2 Posts
  • 0 Reply Likes
More info...If I post the URL to a browser I actually get a response back. I only get the invalid URL when I submit the URL programmatically.
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
Our change to Akamai resulted in the server being more reliable, but also more strict as far as URL formatting requirements. It won't accept previous calls that it used to.

You can fix calls to not escape "/", and instead make valid HTTP calls.