Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Connecting Sharepoint folder Error 405

Hey,

 

when trying to connect to a sharepoint folder

I get the error message :
We encountered an error while trying to connect.

Details: "Web.Contents failed to get contents from 'https://*******.sharepoint.com/sites/********/_api/web/lists/getbyid('********)/RenderListDataAsStream?cid=*******' (405): Method Not Allowed"


Accessing the sharepoint files is not an issue. They are part of an MS-Teams channel
There are subfolder in it, but that shouldnt be an issue, is it ?

  • Take the /:f/r out of the URL - that breaks it. It wants the "clean" version. 

4 Replies

  • christinepayton's avatar
    christinepayton
    Most Valuable Professional

    Subfolders are fine. Could you maybe copy your query from the advanced editor? The error doesn't look like something you'd get from the folder connector since it's querying a list by the ID (the folder connector gets all files in the site and lets you filter down). 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hey, maybe I am doing it wrong. I am just the IT guy who has to troubleshoot this issue.

      I opened the advanced editor, and tried adding a new source, choose sharepoint folder and copied the site URL
      https://*******.sharepoint.com/:f:/r/sites/***********/

      Then I get the error message I mentioned. Can I still see the query it tried using it ?

      • christinepayton's avatar
        christinepayton
        Most Valuable Professional

        Take the /:f/r out of the URL - that breaks it. It wants the "clean" version.