MarcoGos/kleenex_pollenradar

Position isn't within chosen region

Closed this issue · 5 comments

I have tried to configure this integration using my home zone latitude and longitude and setting the region to United Kingdom, but when clicking submit I receive the error "Looks like you position isn't within the choosen region".

Testing using the details in the screenshot allow the config to be submitted correctly.

Hi @axeman91 , can you tell me your village, town or city you live in?

Hi @MarcoGos , I live close to Porstmouth in the UK

@axeman91 When I use the following gps coordinates: latitude: 50.79899 longitude: -1.09125, I don't have any problems and can add the integration without errors.
Scherm­afbeelding 2024-06-25 om 13 28 51

@MarcoGos - I just tried the settings in your screenshot and still get the same error when I click submit. I also noticed that there was an update available and installed that, and it went through fine, so maybe something in the update?

The correct laitude and longitude for my exact location still don't work though, what does this get validated against?

@axeman91 It does a POST on url "https://www.kleenex.co.uk/api/sitecore/Pollen/GetPollenContent" with json data: {"lat": , "lng": }