Yammer Pending Attachments API

%3CLINGO-SUB%20id%3D%22lingo-sub-31535%22%20slang%3D%22en-US%22%3EYammer%20Pending%20Attachments%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-31535%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20upload%20files%20to%20yammer%20through%20Postman%20but%20getting%20%22Internal%20Server%20Error%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EURL%3C%2FSTRONG%3E%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fpending_attachments%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Fapi%2Fv1%2Fpending_attachments%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHeader%3C%2FSTRONG%3E%3A%20Authorization%3A%20Bearer%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBody%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EContent-type%3A%20multipart%2Fform-data%3Bboundary%3DAaB03x%3CBR%20%2F%3E--AaB03x%3CBR%20%2F%3EContent-Disposition%3A%20form-data%3B%20name%3D%22field1%22%3CBR%20%2F%3EJoe%20Blow%3CBR%20%2F%3E--AaB03x%3CBR%20%2F%3EContent-Disposition%3A%20form-data%3B%20name%3D%22pics%22%3B%20file%3D%22file1.txt%22%20Content-Type%3A%20text%2Fplain%3CBR%20%2F%3ESampleFile%3CBR%20%2F%3E--AaB03x--%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20if%20I%20am%20missing%20anything%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-31535%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45958%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20Pending%20Attachments%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45958%22%20slang%3D%22en-US%22%3E%3CP%3ETry%20this%20link%2C%20it%20can%20help%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.codejava.net%2Fjava-se%2Fnetworking%2Fupload-files-by-sending-multipart-request-programmatically%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.codejava.net%2Fjava-se%2Fnetworking%2Fupload-files-by-sending-multipart-request-programmatically%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eworked%20for%20me%20!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-34768%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20Pending%20Attachments%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-34768%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20am%20also%20facing%20the%20same%20issue.%20Please%20let%20me%20know%20if%20you%20are%20able%20to%20solve%20the%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I'm trying to upload files to yammer through Postman but getting "Internal Server Error".

 

URL: https://www.yammer.com/api/v1/pending_attachments

 

Header: Authorization: Bearer

 

Body:

 

Content-type: multipart/form-data;boundary=AaB03x
--AaB03x
Content-Disposition: form-data; name="field1"
Joe Blow
--AaB03x
Content-Disposition: form-data; name="pics"; file="file1.txt" Content-Type: text/plain
SampleFile
--AaB03x--

 

Please let me know if I am missing anything

 

Thanks

2 Replies

Hi, I am also facing the same issue. Please let me know if you are able to solve the issue.