Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DR9885 opened this issue Apr 15, 2019 · 4 comments

Comments

@DR9885
Copy link
Contributor

DR9885 commented Apr 15, 2019

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

@pranav700
Copy link
Contributor

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

@DR9885
Copy link
Contributor Author

DR9885 commented May 11, 2019

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."

@RodneyRichardson
Copy link
Contributor

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).

@DR9885
Copy link
Contributor Author

DR9885 commented Mar 10, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants