Search code examples
restshutterstock

Shutterstock - "You do not have access to this route" Error


I am trying to get image link from Shutterstock API, as described in the docs, but keep getting "message": "You do not have access to this route. Please contact [email protected] for more information" response.
I'm using correct Subscription_id and access token. Request URI is:

https://api.shutterstock.com/v2/images/licenses?subscription_id={{SUBSCRIPTION_ID}}

Request body:

{
    "images": [
        {
            "image_id": "59656357",
            "format": "jpg"
        },
        {
            "image_id": "1079756147",
            "format": "jpg"
        }
    ]
}

I've a paid monthly subscription, so everything should work. What could be wrong?


Solution

  • Shutterstock recently started enforcing limitations on what free API accounts can do with the API. One of those limitations is that API search requests with a free account can't use the licensing endpoints. You don't automatically get full API access even if you paid for a subscription.

    Look up your application at https://developers.shutterstock.com/user/me/apps and see what API product it uses. If it's "Free," you've got limited API access as described here:

    https://developers.shutterstock.com/documentation/authentication#accounts-and-limitations

    Sorry that you haven't gotten a response to the api@ address -- I'll look into it.