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
Upload multiple image blobs using the files.uploadV2 API and retrieve their permalink values.
Use these permalinks as value options in a static_select block.
Send an initial message that includes:
A select block with the uploaded image URLs as options.
An image block showing the first uploaded image.
Handle the selection action:
Update the message by replacing the image block with the URL of the selected option using chat.update.
Observe the updated message.
Expected result:
The first message shows the first image correctly.
When a user selects a new option, the message updates to display the new image from the static_select block.
Actual result:
The first message shows the first image correctly.
After selecting a new image, the chat.update call fails to display the updated image. The image_url (permalink from files.upload) becomes invalid., but the shown size is correct.
The text was updated successfully, but these errors were encountered:
Additional Observation
When using chat.postMessage instead of chat.update, the provided image_url (permalink from files.upload) works as expected, and the image is displayed correctly.
@slack/web-api
version7.7.0
Node.js runtime version
v20.18.0
Steps to reproduce:
files.uploadV2
API and retrieve theirpermalink
values.static_select
block.Expected result:
static_select
block.Actual result:
chat.update
call fails to display the updated image. Theimage_url
(permalink from files.upload) becomes invalid., but the shown size is correct.The text was updated successfully, but these errors were encountered: