breatheco-de / breatheco-de/admin-client

I can't reject an student assignment in Madrid Prework as Madrid Admin

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I can't reject an student assignment in Madrid Prework as Madrid Admin

{"error":"insufficient_scope","error_description":"The request requires higher privileges than provided by the access token"}

Additionally, console throws the following errors:

The above error occurred in the

  • component:
    in li
    in Unknown
    in ul
    in t (created by Home)
    in div (created by Home)
    in Home

    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://fb.me/react-error-boundaries to learn more about error boundaries. react-dom.development.js:17117
    Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. react-dom.development.js:55
    React 22
    setState notifier.js:9
    notificationsUpdated notifier.js:1
    emit notifier.js:14
    t notifier.js:1
    _invokeCallback notifier.js:14
    dispatch notifier.js:14
    y notifier.js:1
    error notifier.js:1
    noti home.js:295

  • Contributor guide

    No contributing guide indexed for this repository

    Research direction

    Start at the notification path identified as home.js:295 and reproduce rejecting a student assignment as a Madrid Admin. Check the insufficient_scope response alongside the React errors shown in the console; done means the assignment can be rejected without these errors.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    javascript, react
    Domain
    authorization, frontend
    Issue type
    Bug
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    35/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.