403 Forbidden error in Yammer developer API while updating field of external user.

%3CLINGO-SUB%20id%3D%22lingo-sub-401839%22%20slang%3D%22en-US%22%3E403%20Forbidden%20error%20in%20Yammer%20developer%20API%20while%20updating%20field%20of%20external%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-401839%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20the%20Yammer%20API%20in%20a%20C%23%20application.%20We%20have%20one%20external%20network%20in%20Yammer%20where%20home%20user%20and%20external%20users%20log%20in.%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20update%20the%20field%20value%20like%20job_title%2C%20Name%20etc%20from%20code%20using%20Yammer%20API.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAPI%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fusers%2F%7Buser_id%7D.json%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fusers%2F%7Buser_id%7D.json%3C%2FA%3E%3C%2FP%3E%3CP%3EData%20load%3A%26nbsp%3B%20%22%7B%5C%22job_title%5C%22%3A%5C%22Consultant111FromCode%5C%22%7D%22%3C%2FP%3E%3CP%3EMethod%3A%20PUT%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20are%20getting%20403%20forbidden%20error%20trying%20to%20update%20external%20user%20information.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3C%2FP%3E%3CP%3EAkash%20Jadhav%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-401839%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi,

We are using the Yammer API in a C# application. We have one external network in Yammer where home user and external users log in. 

We are trying to update the field value like job_title, Name etc from code using Yammer API.

 

API:  https://www.yammer.com/api/v1/users/{user_id}.json

Data load:  "{\"job_title\":\"Consultant111FromCode\"}"

Method: PUT


We are getting 403 forbidden error trying to update external user information.

Regards,

Akash Jadhav 

0 Replies