Skip to content

Commit 7d7d216

Browse files
author
pcoma55
committed
updating allowed characters
1 parent 76e95a6 commit 7d7d216

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

articles/planetary-computer/troubleshooting-ingestion.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,21 @@ The ingestion service strictly enforces the [STAC specification](./stac-overview
9090
* For single-item ingestion, the STAC Item JSON **must** include the `collection` field, with its value set to the ID of the target collection in your GeoCatalog.
9191
3. **Format Datetime:** Verify that all `datetime` fields conform to the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) standard (for example, `YYYY-MM-DDTHH:MM:SSZ`). The `pystac` library provides utilities to format datetimes correctly.
9292
4. **Check for Invalid Characters and Lengths:**
93-
* STAC `Collection IDs`, `Item IDs`, and `Asset keys` must not contain the following characters: `-`, `_`, `+`, `(`, `)`, and `.`.
94-
* `Item IDs` must be fewer than 150 characters.
95-
* `Asset keys` must be fewer than 256 characters.
93+
* STAC `Item IDs`, and `Asset keys`:
94+
* Must only contain the following characters:
95+
* Letters: `A-Z`, `a-z`
96+
* Digits: `0-9`
97+
* Symbols: ``-``, ``_``, ``+``, `,`, `(`, `)`, `.`
98+
* All other characters are invalid.
99+
* `Item IDs` must be fewer than 150 characters.
100+
* `Asset keys` must be fewer than 256 characters.
101+
* STAC `Collection IDs`:
102+
* Must only use contain the following characters:
103+
* Letters: `A-Z`, `a-z`
104+
* Digits: `0-9`
105+
* Symbols: ``-``, ``_``, `.`
106+
* All other characters are invalid
107+
96108
5. **Retry Ingestion:** After correcting the STAC metadata, try the ingestion again.
97109

98110
### Solution 2.2: Simplify STAC extensions

0 commit comments

Comments
 (0)