503 Service Unavailable Error

I have been getting the following error this morning:

HTTPError: 503 Server Error: Service Unavailable for url: same_url
Server response: “503 Service Unavailable No server is available to handle this request.”

I am using the eval_script_all_bands from the following documentation:
Sentinel Hub Process API — Sentinel Hub 3.10.1 documentation

I have used this script with success as recently as 02/19/24 and I have also updated the script to attempt multiple retries, but to no avail. My Oauth is active, so I don’t think this is a credential issue. Is anyone aware of issues with the processing API at the moment?

Any help or information would be greatly appreciated.

Update:

This has been a continuing issue this morning and I have not had any successful queries and this is the first time I have had this issue (been using the script once in a while for around 8 months).

Here is my config:

config = SHConfig(
instance_id=‘’,
sh_client_id=‘removed’,
sh_client_secret=‘removed’,
sh_base_url=‘same_url’,
sh_token_url=‘[same_url]same_url)’
)

Here is the function calling the eval script:

def get_all_bands(bbox,dir):

current_bbox = BBox(bbox=bbox, crs=CRS.WGS84)
current_size = bbox_to_dimensions(current_bbox, resolution=10)

evalscript_all_bands = “”"
//VERSION=3
function setup() {
return {
input: [{
bands: [“B01”,“B02”,“B03”,“B04”,“B05”,“B06”,“B07”,“B08”,“B8A”,“B09”,“B10”,“B11”,“B12”],
units: “DN”
}],
output: {
bands: 13,
sampleType: “INT16”
}
};
}

function evaluatePixel(sample) {
    return [sample.B01,
            sample.B02,
            sample.B03,
            sample.B04,
            sample.B05,
            sample.B06,
            sample.B07,
            sample.B08,
            sample.B8A,
            sample.B09,
            sample.B10,
            sample.B11,
            sample.B12];
                        }
                  """

request_all_bands = SentinelHubRequest(
evalscript=evalscript_all_bands,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL2_L1C,
time_interval=(“2023-06-01”, “2023-08-30”),
mosaicking_order=MosaickingOrder.LEAST_CC,
)
],
responses=[SentinelHubRequest.output_response(“default”, MimeType.TIFF)],
bbox=current_bbox,
size=current_size,
config=config,
)
sat_data_tiff = request_all_bands.get_data()

In its entirety, this is the error that I receive:

HTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/sentinelhub/download/handlers.py in new_download_func(self, request)
66 try:
—> 67 return download_func(self, request)
68

35 frames
HTTPError: 503 Server Error: Service Unavailable for url: same_url

The above exception was the direct cause of the following exception:

HTTPError Traceback (most recent call last)
HTTPError: 503 Server Error: Service Unavailable for url: same_url

The above exception was the direct cause of the following exception:

DownloadFailedException Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/sentinelhub/download/handlers.py in new_download_func(self, request)
80 if attempts_left <= 0:
81 message = _create_download_failed_message(exception, request.url)
—> 82 raise DownloadFailedException(message, request_exception=exception) from exception
83
84 LOGGER.debug(

DownloadFailedException: Failed to download from: same_url
with HTTPError:
503 Server Error: Service Unavailable for url: same_url
Server response: “503 Service Unavailable No server is available to handle this request.”

Note: new users are limited to two url links, so same_url is the url listed above.

The services looks to be running OK.
Can you be more specific in your findings?
Are you getting such an error continuously or only sporadically?
Can you post an example of the request (make sure to mask the credentials et al)

Just as an update in the case someone else has a similar issue. I got the evalscript working again by changing my configuration from

config = SHConfig(
instance_id=‘’,
sh_client_id=‘removed’,
sh_client_secret=‘removed’,
sh_base_url=‘https://services.sentinel-hub.com’,
sh_token_url=‘https://services.sentinel-hub.com
)

to

config = SHConfig()
config.sh_client_id = ‘removed’
config.sh_client_secret = ‘removed’

Perhaps specifying the API URL was causing issues here, not entirely sure.