Select to view content in your preferred language

Invalid API Key Error

454
1
09-06-2024 01:02 PM
Labels (1)
SanketNaik
New Contributor

I'm trying to use the basemapstyles API to fetch basemaps but I keep getting the following error 

{
    "error": {
        "code": 498,
        "message": "Token Invalid.",
        "details": [
            "The required authentication information is invalid. The token is either invalid or has expired."
        ],
        "restInfoUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/info"
    }
}

 

I have verified that the API key has access to the correct permissions and also verified that the referrer URLs are correct. Please let me know if there's a way to fix this error.

0 Kudos
1 Reply
NadinaSchlik
Emerging Contributor

Hi @SanketNaik , I'm getting the same error. Were you able to resolve it? 

Best regards, 

Nadina

0 Kudos