Bad Gateway Error - SharePoint connector in Azure Logic Apps

%3CLINGO-SUB%20id%3D%22lingo-sub-1400890%22%20slang%3D%22en-US%22%3EBad%20Gateway%20Error%20-%20SharePoint%20connector%20in%20Azure%20Logic%20Apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1400890%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%26nbsp%3B%20using%20a%20SharePoint%20connector%20in%20Azure%20Logic%20Apps%20Designer.%20It%20supposed%20to%20work%20smoothly%20but%20recently%20noticed%20that%20all%20our%20existing%20apps%26nbsp%3Bfailing%20the%20SharePoint%20connector.%20The%20%22Bad%20Gateway%22%20error%20appeared%20across%203%20separate%20tenants%20(Issue%20is%20intact%20in%20all%20tenants).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22BadGateway.png%22%20style%3D%22width%3A%20594px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F192890i628B9BDCF7F97C8E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22BadGateway.png%22%20alt%3D%22Bad%20Gateway-Azure%20Logic%20Apps%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EBad%20Gateway-Azure%20Logic%20Apps%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EUsed%20the%20workaround%20of%20%E2%80%9Cputting%20the%20folder%2Flibrary%20link%20manually%20in%20the%20field%E2%80%9D%20-%20Although%20this%20might%20work%20for%20triggers%2C%20it%20does%20not%20work%20for%20the%20SharePoint%20file%20create%20action.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20get%20this%20error%3A%20%7B%20%22status%22%3A%20400%2C%20%22message%22%3A%20%22Library%20%3CA%20href%3D%22https%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FLongwave%2FAutomation%2FCalibre%2FCRMS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FLongwave%2FAutomation%2FCalibre%2FCRMS%3C%2FA%3E%20does%20not%20exist%20in%20this%20site.%20Make%20sure%20that%20you%20pick%20an%20existing%20library%20to%20create%20your%20file%20or%20folder%20in.%5Cr%5CnclientRequestId%3A%205a6b2dcd-d690-4f78-8c57-f65339ce0de8%5Cr%5CnserviceRequestId%3A%20c23d4f9f-30c3-a000-f353-db1664632f34%22%2C%20%22error%22%3A%20%7B%20%22message%22%3A%20%22Library%20%3CA%20href%3D%22https%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FLongwave%2FAutomation%2FCalibre%2FCRMS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsitename.sharepoint.com%2Fsites%2FLongwave%2FAutomation%2FCalibre%2FCRMS%3C%2FA%3E%20does%20not%20exist%20in%20this%20site.%20Make%20sure%20that%20you%20pick%20an%20existing%20library%20to%20create%20your%20file%20or%20folder%20in.%22%20%7D%2C%20%22source%22%3A%20%22sharepointonline-ae.azconn-ae.p.azurewebsites.net%22%20%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENevertheless%2C%20SharePoint%20connector%20in%20PowerAutomate%20works%20well.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20insights%20are%20really%20appreciated%20!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1400890%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApp%20Services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%20Tools%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

We are  using a SharePoint connector in Azure Logic Apps Designer. It supposed to work smoothly but recently noticed that all our existing apps failing the SharePoint connector. The "Bad Gateway" error appeared across 3 separate tenants (Issue is intact in all tenants). 

 

Bad Gateway-Azure Logic AppsBad Gateway-Azure Logic Apps

Used the workaround of “putting the folder/library link manually in the field” - Although this might work for triggers, it does not work for the SharePoint file create action.

 

I get this error: { "status": 400, "message": "Library https://sitename.sharepoint.com/sites/Longwave/Automation/Calibre/CRMS does not exist in this site. Make sure that you pick an existing library to create your file or folder in.\r\nclientRequestId: 5a6b2dcd-d690-4f78-8c57-f65339ce0de8\r\nserviceRequestId: c23d4f9f-30c3-a000-f353-db1664632f34", "error": { "message": "Library https://sitename.sharepoint.com/sites/Longwave/Automation/Calibre/CRMS does not exist in this site. Make sure that you pick an existing library to create your file or folder in." }, "source": "sharepointonline-ae.azconn-ae.p.azurewebsites.net" }

 

Nevertheless, SharePoint connector in PowerAutomate works well. 

 

Any insights are really appreciated ! 

 

3 Replies

@Manoj Karunarathne were you able to resolve this issue.

 

 

 

@TarunJadaun 

@prabhavjain 

Yes it was resolved in a few days after reporting to Microsoft via a support ticket. 

Hi Manoj,
Could you please share the resolution steps to fix the issue.
I am also facing similar issue.