cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Create file on-prem Sharepoint: Error 502 Bad Gateway

Hello,

 

I'm unable to Create File in an on-prem Sharepoint doc library. 

 

- Using Sharepoint Create File action in Flow

- Created a new connection selecting "On prem data gateway"

- Tried by Windows username alone and servername\username, same error

- Flow runs for ~10-15mins before timing out

 

How do I troubleshoot this?

 

Error message: 

{
  "error": {
    "code": 502,
    "source": "flow-apim-msmanaged-na-westus2-01.azure-apim.net",
    "clientRequestId": "11f81548-2670-4fc2-a7b2-c13cb18fb0d7",
    "message": "BadGateway",
    "innerError": {
      "status": 502,
      "message": "Received error payload from gateway service with ID 102446: Error parsing UserName '<pi>windowsUN</pi>'..\r\nclientRequestId: 11f81548-2670-4fc2-a7b2-c13cb18fb0d7",
      "source": "https://sharepointonline-ncus.azconn-ncus.p.azurewebsites.net/datasets/https%253A%252F%252Fonpremsp.company.com%252Fteam%252Fdata%252F/files?folderPath=%2FShared%20Documents%2F&name=test.png&queryParametersSingleEncoded=true",
      "errors": []
    }
  }
}

 

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,525)