Skip to main content

Hi there!


I am new here. I am trying to download a bigger piece of data (San Diego Unit in California) using OAuth2Session in Python however I am getting a 403 Client Error.


FYI, I am using another account with an Exploration subscription.


DownloadFailedException: Failed to download from:
https://services.sentinel-hub.com/api/v1/process
with HTTPError:
403 Client Error: Forbidden for url: https://services.sentinel-hub.com/api/v1/process
Server response: "{"status": 403, "reason": "Forbidden", "message": "Invalid or expired account.", "code": "COMMON_INSUFFICIENT_PERMISSIONS"}"


While running


request_all_bands = SentinelHubRequest(
data_folder="test_dir",
evalscript=evalscript_all_bands,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL2_L1C,
time_interval=("2020-05-01", "2020-05-10"),
mosaicking_order=MosaickingOrder.LEAST_CC,
)
],
responses=[SentinelHubRequest.output_response("default", MimeType.TIFF)],
bbox=betsiboka_bbox,
size=betsiboka_size,
config=config,
)

all_bands_img = request_all_bands.get_data(save_data=True)

Does anyone has any idea how to solve it? I managed to make it work once but it doesn’t work anymore.

Hi,

The error message indicates thats your Sentinel Hub trial account registered with m*****s@kablamo.com.au was expired in April. Please renew your account to be able to keep using Sentinel Hub services. Thank you!


Reply