HTTP 400 on Yammer image with "InvalidOrMissingClaims" reason

Baptiste G 5 Reputation points


We have integrated Yammer feed into our client app and we are now trying to display images in there.

As attachement URLs are protected, we are trying to implement a proxy to load files from Yammer and deal with the Yammer authorization token.

The authorization token seems to be properly handled, as we don't face HTTP 401 anymore, however we moved to another issue: the request now returns a HTTP 400 with an error payload:

curl \
--location '[REDACTED]/version/[REDACTED]/thumbnail' \
--header 'Authorization: Bearer [YAMMER_TOKEN]' \

and the result:

   "reason": "InvalidOrMissingClaims"

We were not able to find any documentation nor StackOverflow post about this issue.

Any help would be greatly appreciated!

Microsoft Viva
Microsoft Viva
A Microsoft employee experience platform built on Microsoft 365 that brings together communications, knowledge, learning, resources, and insights.
61 questions
{count} vote