IndieCoderMM / IndieCoderMM/tappy-plane
Error when creating game: "You need to provide a valid name for the game"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I tried to create a new game following the steps in the [Leaderboard Docs](https://microverse.notion.site/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3) - but when I call the API with any value I always get a 400 error:
```js
{
"message": "You need to provide a valid name for the game"
}
```
An example:
What is the accepted format for the name?
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the game-creation request using the Leaderboard Docs linked in the issue and compare it with the request sent by the game. Trace the JavaScript/React entry point that creates a game, then verify that a documented valid name is accepted without the 400 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100