alfred-workflow-todoist icon indicating copy to clipboard operation
alfred-workflow-todoist copied to clipboard

[Bug] TypeError: Cannot convert undefined or null to object

Open ggnall opened this issue 4 years ago • 7 comments

Description

Issue creating tasks on first install.

Steps to reproduce behavior

  1. Installed workflow. (Have tried master, beta, and now alpha).
  2. Configured (set token, node location)
  3. Try to create a task

Looks like I'm not able to set anything with my input.

Expected behavior

Task is created.

Error logs

ALFRED WORKFLOW TODOIST

Title: TypeError Description: Cannot convert undefined or null to object

OS: macOS 10.15.3 Query: [object Object] Node.js: v12.16.2 Alfred: 3.8.6 Workflow: 6.0.0-alpha.10 Workflow-id: user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A

Stack: TypeError: Cannot convert undefined or null to object at Function.keys () at Object.set store [as store] (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:182787) at Bh.qh [as deserialize] (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:183491) at Bh.get store [as store] (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:15:123392) at new e.exports (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:15:119010) at new Bh (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:183708) at /Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:210707 at tp (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:211001) at /Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:329772 at wv (/Users/gg/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.9E6A533E-64D9-48B3-8285-512C0B0D044A/alfred-workflow-todoist.js:29:329979)

ggnall avatar Apr 14 '20 17:04 ggnall

Is this bug still in the latest beta?

moranje avatar Apr 14 '20 18:04 moranje

Yes in both beta and alpha via: https://github.com/moranje/alfred-workflow-todoist/releases

I'm not sure if there's something wrong with my node setup

ggnall avatar Apr 14 '20 18:04 ggnall

I am seeing the same issue, BTW. Maybe todoist updated something on their end?

bstascavage avatar Apr 21 '20 14:04 bstascavage

I have the same issue on the first install and the API request is not connecting with todoist.

mrokaini avatar May 23 '20 10:05 mrokaini

I have the same issue with 6.0.0-alpha10

I tried multiple different node setups because I thought it might have something to do with that.

Dramaturco avatar Jun 02 '20 09:06 Dramaturco

Same with this setup:

OS: macOS 10.15.5 Query: [object Object] Node.js: v12.13.0 Alfred: 3.8.6 Workflow: 6.0.0-beta.1 Workflow-id: user.workflow.0FF47443-16F9-4F1F-9287-59C0D0791DC5

jakubka avatar Jul 22 '20 07:07 jakubka

Same here

jaanli avatar Oct 17 '20 18:10 jaanli