instructure / instructure/canvas-rce-api
Cannot upload image in general announcement
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When i try to upload image in general announcement editor, an error occurred.
the message in console :
https://mydomain.tld/api/folders/media?contextType=&contextId=2
http 500
Error: invalid contextType ()
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 general announcement image upload and tracing the /api/folders/media request shown in the report. Check how the empty contextType is produced and define completion as a successful upload without the invalid contextType error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100