I have created a message in teams. In the message I pasted an image from the clipboard. In teams the message looks fine. When I access the message in R I see an image in the source:
but I cannot download this image. If I paste the msg$webUrl in the browser, I get redirected to teams and it looks ok, so I obviously have access I would think. However, when I copy the url of the image in the browser I get the following response:
{"error":{"code":"InvalidAuthenticationToken","message":"Access token is empty.",
"innerError":{"date":"2023-06-06T07:52:24",
"request-id":"db016e7...","client-request-id":"db016e7..."}}}
Is this a bug or is there some other way to access this image outside of teams?
I have created a message in teams. In the message I pasted an image from the clipboard. In teams the message looks fine. When I access the message in R I see an image in the source:
but I cannot download this image. If I paste the
msg$webUrl
in the browser, I get redirected to teams and it looks ok, so I obviously have access I would think. However, when I copy the url of the image in the browser I get the following response:Is this a bug or is there some other way to access this image outside of teams?