You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All though titles are not required for other channels when using the image content-type, if you don`t provide, it will not work in the Slack Channel and an error will be thrown:
[ERROR] web-api:WebClient:0 failed to match all allowed schemas [json-pointer:/blocks/0/title]
[ERROR] web-api:WebClient:0 missing required field: text [json-pointer:/blocks/0/title]
09/28/2021 14:20:49.466 [Messaging] app:slack Error occurred when sending a message. Error: An API error occurred: invalid_blocks
at Object.platformErrorFromResult (C:\snapshot\messaging\node_modules@slack\web-api\dist\errors.js:51:33)
at WebClient.apiCall (C:\snapshot\messaging\node_modules@slack\web-api\dist\WebClient.js:156:28)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async SlackCommonSender.send (C:\snapshot\messaging\packages\server\dist\channels\slack\senders\common.js)
at async SlackConduit.sendToEndpoint (C:\snapshot\messaging\packages\server\dist\channels\base\conduit.js)
at async InstanceService.sendMessageToInstance (C:\snapshot\messaging\packages\server\dist\instances\service.js)
{
to fix this you need to specify a title:
Since titles are not required by the content type, I believe the renderer should auto-generate one.
The text was updated successfully, but these errors were encountered:
Botpress core version: 12.26.3
All though titles are not required for other channels when using the image content-type, if you don`t provide, it will not work in the Slack Channel and an error will be thrown:
[ERROR] web-api:WebClient:0 failed to match all allowed schemas [json-pointer:/blocks/0/title]
[ERROR] web-api:WebClient:0 missing required field: text [json-pointer:/blocks/0/title]
09/28/2021 14:20:49.466 [Messaging] app:slack Error occurred when sending a message. Error: An API error occurred: invalid_blocks
at Object.platformErrorFromResult (C:\snapshot\messaging\node_modules@slack\web-api\dist\errors.js:51:33)
at WebClient.apiCall (C:\snapshot\messaging\node_modules@slack\web-api\dist\WebClient.js:156:28)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async SlackCommonSender.send (C:\snapshot\messaging\packages\server\dist\channels\slack\senders\common.js)
at async SlackConduit.sendToEndpoint (C:\snapshot\messaging\packages\server\dist\channels\base\conduit.js)
at async InstanceService.sendMessageToInstance (C:\snapshot\messaging\packages\server\dist\instances\service.js)
{
to fix this you need to specify a title:
Since titles are not required by the content type, I believe the renderer should auto-generate one.
The text was updated successfully, but these errors were encountered: