HTTP 400 on Yammer image with "InvalidOrMissingClaims" reason

Parth Jani 90 Reputation points
2024-06-20T11:39:54.5933333+00:00

Hi,

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

As attachment 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 'https://www.yammer.com/api/v1/uploaded_files/[REDACTED]/version/[REDACTED]/thumbnail' \

--header 'Authorization: Bearer [YAMMER_TOKEN]' \

{

"reason": "InvalidOrMissingClaims"

}

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,222 questions
Microsoft Viva
Microsoft Viva
A Microsoft employee experience platform built on Microsoft 365 that brings together communications, knowledge, learning, resources, and insights.
70 questions
0 comments No comments
{count} votes