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

Need extra "new line character" for few postalcodes to geolocate them #289

Open
vikrantdheer-ebsco opened this issue Oct 18, 2023 · 1 comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@vikrantdheer-ebsco
Copy link

vikrantdheer-ebsco commented Oct 18, 2023

If I hit Google geocoding api with below URL

https://maps.googleapis.com/maps/api/geocode/json?key={api_key}&address=OSLO&components=country:NO%7Cpostal_code:N-0302

I am unable to get the results

But if I append "newline character" after postal code like this %0A, it works see below url?

https://maps.googleapis.com/maps/api/geocode/json?key=**{api_key}**&address=**OSLO**&components=**country:NO%7Cpostal_code:N-0302%0A**

Although this is not the case for US as country, if I search 5 digit postal code without any newline character it works

@vikrantdheer-ebsco vikrantdheer-ebsco added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Oct 18, 2023
@wangela
Copy link
Member

wangela commented Oct 18, 2023

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@vikrantdheer-ebsco Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants