Skip to content

Intermittent 404s returned by SAS API /pcstacitems/items endpoint #431

@bmcandr

Description

@bmcandr

I'm seeing intermittent 404s returned by https://planetarycomputer.microsoft.com/api/sas/v1/token/pcstacitems/items. This occurs with the following usage pattern:

import pystac_client
import planetary_computer

client = pystac_client.Client.open(
    "https://planetarycomputer.microsoft.com/api/stac/v1",
    modifier=planetary_computer.sign_inplace,
)

collection = client.get_collection("sentinel-2-l2a")

# HTTPError: 404 Client Error: Not Found for url: https://planetarycomputer.microsoft.com/api/sas/v1/token/pcstacitems/items

The sign_inplace modifier attempts to sign the "geoparquet-items" Asset on the Collection which is defined with the following table storage options:

"table:storage_options": {
    "account_name": "pcstacitems"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions