instructure / instructure/canvas-rce-api

Cannot upload image in general announcement

Open
#19 0 comments 2 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.