Skip to content

Fallback argument missing: confusing error text #1476

@saveman71

Description

@saveman71

Opening a new issue after reading slackapi/bolt-js#1249 which is closed.

@seratch, what was confusing on my end is that the error explicitly refers to a "`fallback` argument", so it leads to believe that the missing argument name is fallback, whereas it's actually text.

Maybe the warning message could be improved?

Suggestion:

The `text` argument is missing in the request payload for a chat.postMessage call - It's a best practice to always provide a `text` argument when posting a message which acts as a fallback. It is used in places where the content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.

Metadata

Metadata

Assignees

Labels

needs infoAn issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more infoquestionM-T: User needs support to use the project

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions