Geocoding.net icon indicating copy to clipboard operation
Geocoding.net copied to clipboard

Here Geocoding xml parsing exception on response when account inactive or invalid

Open DR9885 opened this issue 6 years ago • 4 comments

Here Geocoding xml parsing exception on response when account inactive or invalid

DR9885 avatar Apr 15 '19 02:04 DR9885

When you say account is invalid, did you mean you put incorrect credentials/keys ?

pranav700 avatar May 08 '19 06:05 pranav700

The key is correct, but my subscription hit its monthly limit for Here Geocoding. So every geocode response had a different formed response. but the client doesn't handle it well...

The Error Displays as following: "Unexpected character encountered while parsing value: <. Path '', line 0, position 0."

DR9885 avatar May 11 '19 02:05 DR9885

I've submitted a pull request to update to the latest HERE API (#142). This returns errors as JSON, which should be parsed successfully (I've tested with a bad apiKey, as well as bad query parameters).

RodneyRichardson avatar Dec 10 '20 17:12 RodneyRichardson

@RodneyRichardson It only happened when I used a Free license, and hit limit of "Transactions per month 250K"...

Steps to Recreate:

  • Create Free license
  • Trigger more requests than limit suggests "Transactions per month 250K"
  • Try to make a request beyond that.

DR9885 avatar Mar 10 '21 22:03 DR9885