Feb 06 2021 12:30 PM
I have a bot that uses adaptive cards as messages and renders some images within the cards.
So far this worked perfectly however starting with last Friday, I noticed that the image links in all newly issued cards are broken, while the previously issued cards have working image links. This is only happening in the web client. The desktop client works fine as also the IOS client.
Turns out, that the difference is in the image gateway. It used to be:
https://de-prod.asyncgw.teams.microsoft.com/urlp/v1/url/content?url=https%3a%2f%2fsome-url.com%2fsome-image.png
But now it is
https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2fsome-url.com%2fsome-image.png
When I call the first link, the image loads perfectly, when I call the second I get a
<Error>
<Message>Authorization has been denied for this request.</Message>
</Error>
Please note that in the json of the adaptive card that my bot sends, there is no image gateway included but just the raw link. So the gateway is added by the rendering logic within Teams.
What do I need to do so my adaptive card can show the images again?
Where can I get notice of such changes before they affect my application?
Feb 08 2021 11:58 PM
Hi @jocsch,
Feb 10 2021 01:27 AM
Hi @jocsch,
I have gone through your issue, as we need to test the adaptive card to know how it renders, we would request you to share us the manifest json.
Feb 10 2021 01:41 AM
@Rama-MSFT Do you have an email address I can send it to?
Feb 10 2021 01:58 AM
Feb 19 2021 04:24 AM
@Rama-MSFT
Any recommendation? I have seen fluctuating behaviour in the webclient in the last weeks. Sometimes it worked, sometimes it doesn't
However today the undefined images reached the Desktop client as well!
This is now hurting seriously!
Please advice what to do.
Sep 16 2021 09:19 AM
Sep 16 2021 09:22 AM
@Exelscior Not really a solution. But the problem disappeared for me.
What I found out is that it is related to the region. Depending on the serviceURL different image gateways have been used. So sometimes it worked, sometimes it didn't.
I hoped that it was fixed by MS.