Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with uppercase collection identifiers #153

Closed
StijnCaerts opened this issue Oct 6, 2023 · 0 comments
Closed

Not compatible with uppercase collection identifiers #153

StijnCaerts opened this issue Oct 6, 2023 · 0 comments

Comments

@StijnCaerts
Copy link
Collaborator

Describe the bug
It is not possible to add Items for collections with uppercase characters in the collection identifier.

To Reproduce
Steps to reproduce the behavior:

  1. Add a collection with uppercase characters in the collection identifier.
  2. Add items to this collection
  3. Error response:
HTTP 500 Internal Server Error
{"code":"RequestError","description":"RequestError(400, 'invalid_index_name_exception', 'Invalid index name [items_UPPERCASE_collection_id], must be lowercase')"

Expected behavior
While the STAC best practices mention the use of lower case characters for Item IDs, it should be possible to have collections with uppercase characters in their collection identifier.

StijnCaerts added a commit to StijnCaerts/stac-fastapi-elasticsearch that referenced this issue Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants