Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Error: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"} #284

@ceefour

Description

@ceefour

Following the README.md to set .env as follows:

HEADLESS_CMS_GITHUB_TOKEN=examplekey123abc
HEADLESS_CMS_TWITTER_CONSUMER_KEY=examplekey231abc
HEADLESS_CMS_TWITTER_CONSUMER_SECRET=examplekey321abc
HEADLESS_CMS_TWITTER_ACCESS_TOKEN_KEY=examplekey231abc
HEADLESS_CMS_TWITTER_ACCESS_TOKEN_SECRET=examplekey321abc

When running npm start I still get:

> headlesscms@2.0.0 start D:\project_amanah\headlesscms.org
> react-static start

=> Building Routes...
Local archive not found, fetching new data.
[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4
  Error: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

  - request.js:73 IncomingMessage.<anonymous>
    [headlesscms.org]/[@octokit]/rest/lib/request/request.js:73:18

  - events.js:228 IncomingMessage.emit
    events.js:228:7

  - _stream_readable.js:1185 endReadableNT
    _stream_readable.js:1185:12

  - task_queues.js:81 processTicksAndRejections
    internal/process/task_queues.js:81:21


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! headlesscms@2.0.0 start: `react-static start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the headlesscms@2.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ceefour\AppData\Roaming\npm-cache\_logs\2020-03-26T22_29_38_689Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions