I tried to include CircleCI artifact URLs as "type": "image" blocks. This lead to
The response from the API call to Slack can be found below. To view redacted values, rerun the job with SSH and access: slack-orb-logs.FVj3A8/response.json
{"ok":false,"error":"invalid_blocks","errors":["downloading image failed [json-pointer:\/blocks\/2\/image_url]","downloading image failed [json-pointer:\/blocks\/3\/image_url]","downloading image failed [json-pointer:\/blocks\/4\/image_url]","downloading image failed [json-pointer:\/blocks\/5\/image_url]","downloading image failed [json-pointer:\/blocks\/6\/image_url]","downloading image failed [json-pointer:\/blocks\/7\/image_url]","downloading image failed [json-pointer:\/blocks\/8\/image_url]","downloading image failed [json-pointer:\/blocks\/9\/image_url]","downloading image failed [json-pointer:\/blocks\/10\/image_url]","downloading image failed [json-pointer:\/blocks\/11\/image_url]"],"warning":"missing_charset","response_metadata":{"messages":["[ERROR] downloading image failed [json-pointer:\/blocks\/2\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/3\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/4\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/5\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/6\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/7\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/8\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/9\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/10\/image_url]","[ERROR] downloading image failed [json-pointer:\/blocks\/11\/image_url]"],"warnings":["missing_charset"]}}
Slack API returned an error message:
"invalid_blocks"
but the step is marked as successful
Expected behavior:
I expect it to be shown as a failure. In my case it doesn't affect the overall job status, since this notification is only sent on failure anyway, but it could matter in other cases.
Orb version:
4.11.0
What happened:
I tried to include CircleCI artifact URLs as
"type": "image"
blocks. This lead tobut the step is marked as successful![image](https://github.com/CircleCI-Public/slack-orb/assets/104450112/5af273a5-9494-4783-9818-bd6fc252330e)
Expected behavior:
I expect it to be shown as a failure. In my case it doesn't affect the overall job status, since this notification is only sent on failure anyway, but it could matter in other cases.
Additional Information: