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

Unable to create a new reminder #19

Closed
alaq opened this issue May 19, 2019 · 1 comment
Closed

Unable to create a new reminder #19

alaq opened this issue May 19, 2019 · 1 comment

Comments

@alaq
Copy link

alaq commented May 19, 2019

I have been unable to create a reminder, using the example code.

I get the following stack trace:

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Request._callback (./node_modules/apple-icloud/resources/apps/Reminders.js:110:35)
    at Request.self.callback (./node_modules/request/request.js:185:22)
    at Request.emit (events.js:193:13)
    at Request.<anonymous> (./node_modules/request/request.js:1161:10)
    at Request.emit (events.js:193:13)
    at IncomingMessage.<anonymous> (./node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:281:20)
    at IncomingMessage.emit (events.js:198:15)
    at endReadableNT (_stream_readable.js:1139:12)

which is because body is an empty string here: https://github.com/MauriceConrad/iCloud-API/blob/master/resources/apps/Reminders.js#L110

I am trying to troubleshoot this (changing a task works, for instance) but any help would be appreciated, thanks!

@MauriceConrad
Copy link
Owner

Fixed

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

2 participants