Skip to content

Authorization Error Fix #6

@Radioactive92177

Description

@Radioactive92177

Those of you who are facing the Authorization error from Github as they have deprecated the query parameter method, here's what you have to do

  1. Get a Personal Token from Github, https://github.com/settings/tokens
  2. Put the token inside authorization in the Header option of the fetch parameter
    const response = await fetch(url, { headers: { authorization: "token YOUR TOKEN", }, });
    And that's it, problem solved

Feel free to ping me if you face any other problem @Radioactive92177

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions