question

RakeshKumar-4431 avatar image
4 Votes"
RakeshKumar-4431 asked ZehuiYaoMSFT-7151 commented

Teams Graph API - GET filesFolder API returns 404 for an existing private channel sharepoint drive

In order to get the metadata for the location where the files of a channel are stored, we use the following API.

 GET /teams/{id}/channels/{id}/filesFolder

One of our customers' SharePoint drives is already provisioned but this API returns 404 Not Found.

Request -

 GET /v1.0//teams/f7748ba8-5e48-4a77-bd7c-18f623c8d5e9/channels/19:a93d0738554043f1b81d4b8ca8b46a23@thread.skype/filesFolder

Response -

 Result code    404
 Not Found - {
     "error": {
         "code": "NotFound",
         "message": "https://******.sharepoint.com/db905278f90cd6f8c0b9e56bb0da6deb2c6a41cf312ab56b9d319b8c5ce3e407/a49cc407761aa5d6f5d76e385336bc0d17cd77b1713efc2a97759c27888cfd70 Site isn't available. Attempting to create site : False.",
         "innerError": {
             "message": "https://******.sharepoint.com/db905278f90cd6f8c0b9e56bb0da6deb2c6a41cf312ab56b9d319b8c5ce3e407/a49cc407761aa5d6f5d76e385336bc0d17cd77b1713efc2a97759c27888cfd70 Site isn't available. Attempting to create site : False.",
             "code": "ItemNotFound",
             "innerError": {},
             "date": "2022-03-25T14:56:10",
             "request-id": "28d1d6f1-55ff-4a47-82f4-ff006293bde7",
             "client-request-id": "61b3cb0f-369f-410e-a9e0-d46f3662ee94"
         }
     }
 }

All the input IDs are correct and verified and we have all required graph permissions available to call the API.

We have noticed this occurs with private channels only.

Could you please help us figure out what is causing this and how to fix it?





office-teams-windows-itprooffice-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-groups
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @RakeshKumar-4431, I just tested locally and it works fine, I will try to reproduce you problem.

1 Vote 1 ·

Hi @RakeshKumar-4431, this has the same scenario, does this work for you?

0 Votes 0 ·

Hello @RakeshKumar-4431, would you mind providing an update on the status of this issue?

0 Votes 0 ·

@RakeshKumar-4431-We are unable to repro the scenario. It's working fine for us. Could you please provide details to reproduce the scenario, so that we can try it from our end?



0 Votes 0 ·

@RakeshKumar-4431-Could you please share the details?

0 Votes 0 ·

0 Answers