slackapi / bolt-js

A framework to build Slack apps using JavaScript
https://slack.dev/bolt-js
MIT License
2.73k stars 390 forks source link

When would this type === undefined occur? #1426

Closed cpreid closed 2 years ago

cpreid commented 2 years ago

I saw the error message in an app of mine, and I have no idea how it could have occurred. The fact that this condition just results in a return causes some undesired behavior because the app never responds to the client.

https://github.com/slackapi/bolt-js/blob/eec521f57469690e1c6adecc684cdf33788d345f/src/App.ts#L783

seratch commented 2 years ago

Hi @cpreid, thanks for asking the question! It seems that your app does not pass the request body to bolt-js App class for some reasons. Do you use your own custom Receiver? If you share a bit more details of the steps to reproduce your situation, others may be able to help you out.

seratch commented 2 years ago

Let us close this issue due to inactivity. Please feel free to write in if you have any further comments.