Teams cannot get channels' filesFolder

CAT 1 Reputation point
2024-05-13T09:20:01.22+00:00

Hi,

We encountered the following error when get Teams channels' filesFolder through Graph API.


{
    "error": {
        "code": "BadRequest",
        "message": "siteUrl cannot be null or empty. (Parameter 'siteUrl')",
        "innerError": {
            "code": "InvalidRequest",
            "message": "siteUrl cannot be null or empty. (Parameter 'siteUrl')",
            "details": [],
            "date": "2024-05-13T09:03:49",
            "request-id": "458ef49a-85f1-4ef5-822f-ab2f991eff1a",
            "client-request-id": "458ef49a-85f1-4ef5-822f-ab2f991eff1a"
        }
    }
}

I’m wondering if there’s any reason leads to this error or it a bug of Graph API.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,821 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,916 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JiSheng-MSFT 390 Reputation points Microsoft Vendor
    2024-05-14T05:58:25.4133333+00:00

    Hi @CAT

    Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting.

    Based on your description, we believe that your issue is related to Microsoft Graph and is not within our support scope.

    Thanks for your understanding and support.