codesandbox / codesandbox/codesandbox-client
Unable to upload pngs and jpeg with post-req
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- [ x] I have read the Contributing Guidelines for this project.
- [x ] I agree to follow the Code of Conduct that this project
adheres to. - [ x] I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
I am unable to upload png/jpeg, in a POST-request, and I'm getting an error of "Something went wrong".
How has this issue affected you? What are you trying to accomplish?
I am trying to dynamically create sandboxes, with content which is dependent on the file and it's own dependencies. For now I am unable to upload these related images.
To Reproduce
https://github.com/liroliro/csb-problem
Link to sandbox: link (optional)
I'm unable to create a sandbox, since I can't run scripts within it.
Your Environment
| Software | Name/Version |
| Catalina | 10.15.7 |
| Сodesandbox | |
| Browser | Chrome |
| Operating System | Mac |
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 with the reproduction repository at https://github.com/liroliro/csb-problem and trace the POST upload path for PNG and JPEG files. Reproduce the "Something went wrong" error, then identify the relevant upload entry point; done means both image types upload successfully through the POST request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100