-
Notifications
You must be signed in to change notification settings - Fork 10
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
ArcGIS Maps SDK invalid API Key Error #504
Comments
Thanks for asking the question. If you have configured the privileges correctly, it should just work so I'm not sure what's up here. 🤔 Do you have an Esri Community account? You can sign up and ping me via DM and we can try to figure it out there. If you have a key that is known to be working for other applications, try that and compare result. |
@pixlhero |
That wasn't the issue, but thanks. |
ArcGIS Maps SDK invalid API Key Error: The API key '*j2Qde' is invalid, expired, or does not have access to the resource 'https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/oceans'. Please visit https://developers.arcgis.com/api-keys to configure the API key to access the resource, or to create a new API key. Device: |
Can you either try creating a new API key following this tutorial, or go to the ArcGIS portal and check if the location services privileges are toggled on for your API key? Let me know the results as we are curious to see the root cause. Thank you! ![]() |
I created an API key with all the privileges and added it to the .secrets file. But I still get the error
ArcGIS Maps SDK invalid API Key Error: The API key '*j9CKE' is invalid, expired, or does not have access to the resource 'https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/dark-gray'. Please visit https://developers.arcgis.com/api-keys to configure the API key to access the resource, or to create a new API key.
Is there anything I forgot?
Device:
iPad (10th Gen) iPadOS 17.3.1
Xcode 15.4
The text was updated successfully, but these errors were encountered: