Error trying to CONFIRM a PlanetScope subscription

Hi.

I’m trying to CONFIRM a new PlanetScope subscription that I just created. When I invoke the API to confirm I receive this error:

{‘error’: {‘status’: 403, ‘reason’: ‘Forbidden’, ‘message’: ‘{“error”:{“reason”:“Quota issue”,“details”:[“Insufficient quota. Please contact customer support or your Planet contact to resolve the issue.”]}}’, ‘code’: ‘COMMON_INSUFFICIENT_PERMISSIONS’}}

Mi user: antonio.santos.rodriguez@gmail.com
Python code that I’m using:

from oauthlib.oauth2 import BackendApplicationClient
from requests_oauthlib import OAuth2Session

# Your client credentials
client_id = XXXXXXXXXXX
client_secret = XXXXXXXXXX

# Create a session
client = BackendApplicationClient(client_id=client_id)
oauth = OAuth2Session(client=client)

# Get token for the session
token = oauth.fetch_token(token_url='https://services.sentinel-hub.com/auth/realms/main/protocol/openid-connect/token', client_secret=client_secret, include_client_id=True)

url = f"https://services.sentinel-hub.com/api/v1/dataimport/subscriptions/e8517fcd-123c-4e84-a02f-19a501e39aa9/confirm"
response = oauth.post(url)
#response.raise_for_status()
message = response.json()
print(message)

Please, could you help me?
Thanks.

Hi there! Could you please provide us with your payload details/search query used while attempting to create the subscription so we can look into this further?

The problem you are facing is that the tier you have bough does not include the region you are trying to order from. You can find more information about this here. Our old tier 2 corresponds to region A and tier 3 to region B.

1 Like

Hi there.
Thanks for your replies. I think that the problem is what @aversnik describe.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.