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

[bug] notion-opener is not working #6

Closed
takoba opened this issue Feb 4, 2022 · 0 comments
Closed

[bug] notion-opener is not working #6

takoba opened this issue Feb 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@takoba
Copy link
Owner

takoba commented Feb 4, 2022

error stack

2022-02-04T11:28:59.210613+00:00 app[web.1]: DEBUG: dump `notion.pages.retrieve()` { page_id: '21721601953e418ba416af7acef45cb9' } {
2022-02-04T11:28:59.210614+00:00 app[web.1]: object: 'page',
2022-02-04T11:28:59.210615+00:00 app[web.1]: id: '21721601-953e-418b-a416-af7acef45cb9',
2022-02-04T11:28:59.210615+00:00 app[web.1]: created_time: '2021-11-18T08:07:00.000Z',
2022-02-04T11:28:59.210615+00:00 app[web.1]: last_edited_time: '2022-02-04T11:07:00.000Z',
2022-02-04T11:28:59.210616+00:00 app[web.1]: cover: null,
2022-02-04T11:28:59.210616+00:00 app[web.1]: icon: {
2022-02-04T11:28:59.210617+00:00 app[web.1]: type: 'external',
2022-02-04T11:28:59.210617+00:00 app[web.1]: external: { url: 'https://img.icons8.com/ios-filled/500/notion.png' }
2022-02-04T11:28:59.210617+00:00 app[web.1]: },
2022-02-04T11:28:59.210618+00:00 app[web.1]: parent: { type: 'workspace', workspace: true },
2022-02-04T11:28:59.210618+00:00 app[web.1]: archived: false,
2022-02-04T11:28:59.210619+00:00 app[web.1]: properties: { title: { id: 'title', type: 'title', title: [Array] } },
2022-02-04T11:28:59.210619+00:00 app[web.1]: url: 'https://www.notion.so/Notion-21721601953e418ba416af7acef45cb9'
2022-02-04T11:28:59.210619+00:00 app[web.1]: }
2022-02-04T11:28:59.210648+00:00 app[web.1]: DEBUG: dump `notion.blocks.retrieve()` { block_id: null } null
2022-02-04T11:28:59.210953+00:00 app[web.1]: [ERROR]  bolt-app UnknownError: (intermediate value)(intermediate value)(intermediate value).find is not a function
2022-02-04T11:28:59.210953+00:00 app[web.1]: at asCodedError (/app/node_modules/@slack/bolt/dist/errors.js:35:12)
2022-02-04T11:28:59.210953+00:00 app[web.1]: at App.handleError (/app/node_modules/@slack/bolt/dist/App.js:618:57)
2022-02-04T11:28:59.210953+00:00 app[web.1]: at App.processEvent (/app/node_modules/@slack/bolt/dist/App.js:603:25)
2022-02-04T11:28:59.210954+00:00 app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-04T11:28:59.210954+00:00 app[web.1]: at async /app/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js:395:17 {
2022-02-04T11:28:59.210954+00:00 app[web.1]: code: 'slack_bolt_unknown_error',
2022-02-04T11:28:59.210955+00:00 app[web.1]: original: TypeError: (intermediate value)(intermediate value)(intermediate value).find is not a function
2022-02-04T11:28:59.210955+00:00 app[web.1]: at /app/dist/app.js:49:64
2022-02-04T11:28:59.210955+00:00 app[web.1]: at /app/dist/app.js:57:7
2022-02-04T11:28:59.210955+00:00 app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-02-04T11:28:59.210956+00:00 app[web.1]: at async Array.<anonymous> (/app/node_modules/@slack/bolt/dist/middleware/builtin.js:186:9)
2022-02-04T11:28:59.210956+00:00 app[web.1]: at async Array.<anonymous> (/app/node_modules/@slack/bolt/dist/middleware/builtin.js:233:9)
2022-02-04T11:28:59.210956+00:00 app[web.1]: at async Array.onlyEvents (/app/node_modules/@slack/bolt/dist/middleware/builtin.js:63:5)
2022-02-04T11:28:59.210956+00:00 app[web.1]: }
2022-02-04T11:28:59.211055+00:00 app[web.1]: [ERROR]   An unhandled error occurred while Bolt processed an event
@takoba takoba added the bug Something isn't working label Feb 4, 2022
@takoba takoba self-assigned this Feb 4, 2022
takoba added a commit that referenced this issue Feb 4, 2022
takoba added a commit that referenced this issue Feb 4, 2022
@takoba takoba closed this as completed Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant