-
Notifications
You must be signed in to change notification settings - Fork 48
[Bug] TypeError: Cannot convert undefined or null to object #186
Description
Description
Pretty new to Alfred, ToDoIst and not a programmer! So no idea how to get this working... I got as far as adding my API token from ToDoIst, but that's about it... Installed Node JS by just clicking through it. Added a screenshot of my terminal if that helps...

Steps to reproduce behavior
Tried to create a task:
"todo car wash today"
Expected behavior
Task should have been added to my todoist but instead got an error message.
Error logs
ALFRED WORKFLOW TODOIST
Title: TypeError
Description: Cannot convert undefined or null to object
OS: macOS 10.15.7
Query: [object Object]
Node.js: v14.15.0
Alfred: 3.8.6
Workflow: 6.0.0-beta.1
Workflow-id: user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377
Stack: TypeError: Cannot convert undefined or null to object
at Function.keys ()
at Object.set store [as store] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:182781)
at Bh.qh [as deserialize] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:183485)
at Bh.get store [as store] (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:15:123392)
at new e.exports (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:15:119010)
at new Bh (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:183702)
at /Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:210701
at tp (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:210995)
at /Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:329760
at wv (/Users/mac/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.07BACD74-A025-495B-91B4-39F0CBCDE377/alfred-workflow-todoist.js:29:329967)