HTTP 403 when trying to retrieve topics and topic related messages from Yammer REST API

%3CLINGO-SUB%20id%3D%22lingo-sub-2071622%22%20slang%3D%22en-US%22%3EHTTP%20403%20when%20trying%20to%20retrieve%20topics%20and%20topic%20related%20messages%20from%20Yammer%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2071622%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20currently%20facing%20an%20issue%20trying%20to%20retrieve%20message%20about%20topics%20or%20even%20topics%20themselves%20via%20the%20endpoints%3C%2FP%3E%3CP%3E%3CU%3E%2Fmessages%2Fabout_topic%2F%3ATopic_ID.json%3C%2FU%3E%3C%2FP%3E%3CP%3Eand%3C%2FP%3E%3CP%3E%3CU%3E%2Ftopics%2F%3ATopic_ID.json%3C%2FU%3E%3C%2FP%3E%3CP%3Erespectively.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20replace%20the%20parameters%20by%20a%20valid%20ID%20and%20call%20the%20resulting%20URL%2C%20I%20just%20receive%20a%20HTTP%20403%20response.%3C%2FP%3E%3CP%3EThis%20happens%20even%20just%20after%20retrieving%20a%20new%20token%20via%20MSAL.%20We%20can%20call%20other%20endpoints%20just%20fine.%20At%20the%20moment%2C%20only%20the%20endpoints%20mentioned%20above%20are%20causing%20issues.%3C%2FP%3E%3CP%3EI%20also%20logged%20in%20to%20Yammer%20(so%20I%20have%20a%20token%20cookie)%20and%20opened%20the%20URLs%20in%20my%20browser%2C%20to%20make%20sure%20that%20this%20is%20not%20a%20MSAL%20token%20issue.%3CBR%20%2F%3EThis%20results%20in%20exactly%20the%20same%20error.%20I%20can%20retrieve%20messages%20by%20group%20just%20fine%20(%3CU%3E%2Fmessages%2Fin_group%2F%3Agroup_id.json%3C%2FU%3E)%2C%20but%20the%20issue%20regarding%20topics%20and%20messages%20about%20specific%20topics%20still%20persists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20know%20by%20any%20chance%20what%20might%20cause%20this%20issue%3F%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-------------------------------%3C%2FP%3E%3CP%3EUPDATE%3A%3C%2FP%3E%3CP%3EI%20noticed%20that%20the%20%3CSTRONG%3Eundocumented%20%3C%2FSTRONG%3E%3CU%3E%2Ftags%2F%3ATag_ID.json%3C%2FU%3E%20returns%20the%20expected%20result.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20I%20can't%20figure%20out%20the%20respective%20endpoint%20for%20returning%20messages%20with%20a%20specific%20tag...%3C%2FP%3E%3CP%3EI%20was%20expecting%20something%20like%20%3CU%3E%2Fmessages%2Fabout_tag%2F%3ATag_ID.json%3C%2FU%3E%20but%20that%20returns%20just%20HTTP%20404.%20I%20tried%20different%20combinations%20with%20the%20word%20%22tag%22%2C%20but%20nothing%20works.%3C%2FP%3E%3CP%3EIs%20such%20an%20endpoint%20even%20available%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2071622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hello,

 

We are currently facing an issue trying to retrieve message about topics or even topics themselves via the endpoints

/messages/about_topic/:Topic_ID.json

and

/topics/:Topic_ID.json

respectively.

 

When I replace the parameters by a valid ID and call the resulting URL, I just receive a HTTP 403 response.

This happens even just after retrieving a new token via MSAL. We can call other endpoints just fine. At the moment, only the endpoints mentioned above are causing issues.

I also logged in to Yammer (so I have a token cookie) and opened the URLs in my browser, to make sure that this is not a MSAL token issue.
This results in exactly the same error. I can retrieve messages by group just fine (/messages/in_group/:group_id.json), but the issue regarding topics and messages about specific topics still persists.

 

Do you know by any chance what might cause this issue? Thanks!

 

-------------------------------

UPDATE:

I noticed that the undocumented /tags/:Tag_ID.json returns the expected result.

But I can't figure out the respective endpoint for returning messages with a specific tag...

I was expecting something like /messages/about_tag/:Tag_ID.json but that returns just HTTP 404. I tried different combinations with the word "tag", but nothing works.

Is such an endpoint even available?

0 Replies