developmentseed / developmentseed/stac-map

Better error message when CORS is not enabled

Open Beginner friendly
#512 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
108
Forks
15
Avg merge
15h 14m
Merged PRs (30d)
9

Description

If CORS is not enabled for a STAC endpoint, the error message is opaque:

Image

A better error message would let folks know why we couldn't load their STAC.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the STAC loading and error-handling entry point in the TypeScript application, then reproduce the failure with a STAC endpoint that does not enable CORS. Done means the resulting error clearly explains that the STAC could not be loaded because of CORS configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.