Home

List chat messages via Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-732776%22%20slang%3D%22en-US%22%3EList%20chat%20messages%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-732776%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20use%20the%20Beta%20Chat%20APIs%20to%20retrieve%20Chat%20messages%20(1%3A1).%20We%20have%20an%20application%20set%20up%20with%20%22Chat.Read.All%22%20Application%20Permission%20added.%20I%20get%20an%20error%20on%20calling%20any%20of%20the%20list%20chat%20APIs%20(%2Fchats%2C%20%2Fusers%2F%7Bid%7D%2Fchats%2C%20%2Fme%2Fchats).%20The%20response%20comes%20back%20with%20401%20error%20code.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%7B%0A%20%20%20%20%22error%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%22code%22%3A%20%22UnknownError%22%2C%0A%20%20%20%20%20%20%20%20%22message%22%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22innerError%22%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22request-id%22%3A%20%2270e88c4f-2057-4e5b-8d35-9423ad8e0045%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22date%22%3A%20%222019-07-01T19%3A07%3A13%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%7D%26nbsp%3B%3C%2FPRE%3E%3CP%3EDoes%20anyone%20know%20what%20this%20%22Unknown%20Error%22%20is%20and%20can%20help%20with%20fixing%20the%20problem%20here%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESnehal%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-732776%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
spatel07
Occasional Visitor

Hi,

 

We are trying to use the Beta Chat APIs to retrieve Chat messages (1:1). We have an application set up with "Chat.Read.All" Application Permission added. I get an error on calling any of the list chat APIs (/chats, /users/{id}/chats, /me/chats). The response comes back with 401 error code.

 

{
    "error": {
        "code": "UnknownError",
        "message": "",
        "innerError": {
            "request-id": "70e88c4f-2057-4e5b-8d35-9423ad8e0045",
            "date": "2019-07-01T19:07:13"
        }
    }
} 

Does anyone know what this "Unknown Error" is and can help with fixing the problem here ?

 

Thanks,

Snehal

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies