Skip to content

Getting SyntaxError: Unexpected token o in JSON at position 1 #11

@Aditgaur

Description

@Aditgaur

Hi Team,
I am getting below error while migrating from Gitlab CE to github enterprise.

undefined:1
[object Object]
^

SyntaxError: Unexpected token o in JSON at position 1
at Object.parse (native)
at /home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/gitlab/lib/ApiBaseHTTP.js:88:42
at _Class.wrap_response (/home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/slumber/lib/API.js:192:18)
at _Class.wrap_response (/home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/slumber/lib/API.js:4:59)
at Request._callback (/home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/slumber/lib/API.js:215:26)
at Request.self.callback (/home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/request/request.js:187:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/home/aditgaur/puppet-agent-automation.git/node-gitlab-2-github/node_modules/request/request.js:1044:10)
at emitOne (events.js:96:13)

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