MapKit JS reverse geocoder 401 Unauthorized

Hello, I am having trouble specifically with the reverse geocoder part of Mapkit JS. The map display works correctly, and even the forward geocoding works correctly, but I get a 401 Unauthorized error when trying to send a reverse geocoder query. Is anyone else seeing this error?


I am using a long-lived token (1 month) that is origin-limited. My site is using HTTPS. Any ideas? Thanks everyone, for your help.

Replies

I am seeing the same issue on my end. Here is an example request:

https://api.apple-mapkit.com/v1/reverseGeocode?loc=36.4229983%2C-121.074&lang=en

+1


I too am receiving a 401 when MapKit attempts to hit: https://api.apple-mapkit.com/v1/reverseGeocode?loc=123%2C-123&lang=en.


My token(s) are also both origin-limited and served over HTTPS.


Looking forward to a fix + an error-free console 🙃


· Jason

Thanks for the reports. This is fixed.