mapbox / mapbox/mts-data-sync

Username with upper case letters

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
71
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Providing username (in response to `--token` command) with uppercase letters (like I specified when creating Mapbox account) results in error 404 when syncing the tileset.

Looks like Mapbox quietly converts to lowercase and the API is case-sensitive.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the `--token` handling and the code that syncs the tileset, then trace how the provided username reaches the Mapbox API. Confirm the behavior with an uppercase username and make the sync succeed without a 404 for usernames entered with uppercase letters.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.