Forum Discussion

Randy Slavey's avatar
Randy Slavey
Copper Contributor
Jul 29, 2020

401 Unauthorized loading badge images in Teams

I noticed that when someone sends badges, the images associated with them do not come through. I loaded up Fiddler and found that when trying to load the image from

 

https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2fstatics.retailservices.teams.cdn.office.net%2fui%2fstatic%2fpraise%2fring4%2fall%2fassets%2fbadges%2fen%2fAwesomeBadge.c983e76c68.png

 

I get a 401 unauthorized error:

 

HTTP/1.1 401 Unauthorized
Content-Length: 61
Content-Type: application/json; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Date: Wed, 29 Jul 2020 22:59:43 GMT

{"Message":"Authorization has been denied for this request."}

 

However, loading that from a browser does a redirect to 

 

https://urlp.sfbassets.com/urlpcdn/eus1/contentapi1/b491612d-726d-4e1c-928b-d5acd1865ec7

 

and the image loads just fine.

 

Has anyone else seen this issue?

Resources