Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined:1 <!DOCTYPE html> ^ SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) #17

Open
mindfulme opened this issue Jul 1, 2018 · 0 comments

Comments

@mindfulme
Copy link

mindfulme commented Jul 1, 2018

When running an example from examples folder. I also have tried adding my credentials from airbnb and looked up for the issue.

Here is the full log:

undefined:1
<!DOCTYPE html>
^

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Request._callback (/Users/rostyslav/projects/airapi/api/search.js:52:22)
    at Request.self.callback (/Users/rostyslav/projects/airapi/node_modules/request/request.js:368:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/Users/rostyslav/projects/airapi/node_modules/request/request.js:1219:14)
    at emitOne (events.js:121:20)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/Users/rostyslav/projects/airapi/node_modules/request/request.js:1167:12)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant