Using the Graph Explorer to get the hosted contents works fine:
I am using the Teams HTTP connector in Power Automate. When I enter the same URL in there with the Content-Type as image/png (which is the actual content type), I get this error:
Everything works fine in Power Automate until I use the /$value parameter. What could be the mistake here and how do I fix it?
Error: Http request failed as the content was not valid: 'Unable to translate bytes [89] at index 0 from specified code page to Unicode.'.