Create tileset source throws error in v0.16
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 768
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
I tried upgrading the library from v0.13.4 to v0.16.0
When calling this code to create a tileset source in v0.13.4 it works, but in v0.16.0 it throws an error:
```
const tileSourceResponse = await this.tilesets.createTilesetSource({
id: sourceId,
file: `./${id}.ldgeojson`
}).send();
```
Error is:
`No file data in request. Expected 1 file named \"file\".`
Contributor guide
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 tilesets.createTilesetSource call with v0.16.0 and the same file argument, then compare its request handling with v0.13.4. The work is done when the documented call accepts the file and no longer reports that file data is missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100