MapKit JS load issue

Thanks for Mapkit JS product! Recently, I want to use MapKit JS for my new web client.


I generate a MapKit JS Key by the video(https://developer.apple.com/videos/play/wwdc2018/508).

But I found that sometimes the map could not be loaded.

I got “initialization failed because the authorization token is invalid” message from the console.

It is so strange that just wait about 10 minutes, I can use the same MapKit JS Key to load map normally.


If you have a solution to solve the problem, please share with me.


Thank you very much!

Replies

That shouldn't happen. Please file a developer feedback with more information attached so we can investigate.

https://developer.apple.com/bug-reporting/

Suggested information for inclusion (share it there to Apple, not publicly here):
  1. The token in question.

  2. Your team ID and key ID that used to generate the token. Don't share the private key.

  3. The website origin where you load the map.