-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
request for completed items returns Error: json: cannot unmarshal number into Go struct field CompletedItem.items.user_id of type string #231
Comments
Confirmed that this is a bug, running latest |
This looks to be a bug in the response coming from the Todoist API. The "user_id" field is returning as an integer instead of a string as in their API documentation. https://developer.todoist.com/sync/v9/#get-all-completed-items I think for now the best course of action is to wait a few days for Todoist to resolve it on their end. I've opened a support ticket with Todoist to report this bug. |
BTW you can pass a |
yeah it would be nice for the debug to dump the json in the case that there's an error, but it's not a big deal |
Got a response from todoist support. They said they are going to look into this and determine if the API change was intentional or not. |
@dasice todoist support says this is now resolved, it was a bug in their API that caused this.
|
Thank you, I can confirm that it works for me now, I really appreciate your upstream representation. |
I'm assuming this is a deprecated API? Is there some way I can dump the contents of the JSON to help debug?
The text was updated successfully, but these errors were encountered: