web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Facing an issue with P...
Power Automate
Unanswered

Facing an issue with Power automate SFTP SSH connection

(0) ShareShare
ReportReport
Posted on by

I am trying to transfer file from one location to another using SFTP SSH connector using power automate.  follow same steps as link. facing an issue showing BadGateway. Able

 

Thanks in advance.

pranitraut_0-1719231681010.png

 

Categories:
  • JR86 Profile Picture
    12 on at

    Same problem - 504 Gateway Timeout - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond - possible causes?

  • JR86 Profile Picture
    12 on at

    From developer tools Chrome browser:

    {
     "Message": "Missing Authorization header for a privileged call on connection.",
     "Source": "product policy"
    }
  • JR86 Profile Picture
    12 on at

    Also from developer tools:

    <Error>
    <script/>
    <Message>The requested resource does not support http method 'GET'.</Message>
    </Error>

     

  • JR86 Profile Picture
    12 on at

    Do I need to reference my on-prem gateway wher creating the SFTP SSH connection? How?

  • JR86 Profile Picture
    12 on at

    More from debugging tools:

    {
    "error": {
    "code": 502,
    "source": "power-apis-usgov001-public.azure-apihub.us",
    "clientRequestId": "2a7361a8-4585-477f-9175-a51f2000cc70",
    "message": "BadGateway",
    "innerError": {
    "status": 502,
    "message": "Invalid data type, INTEGER(02) is expected, but was 65\r\nclientRequestId: 2a7361a8-4585-477f-9175-a51f2000cc70",
    "error": {
    "message": "Invalid data type, INTEGER(02) is expected, but was 65"
    },
    "source": "sftpwithssh-usgv.azconn-gcc-usgv-001.p.azurewebsites.us"
    }
    }
    }

     

  • JR86 Profile Picture
    12 on at

    Latest error:

    {
    "code": 504,
    "source": "power-apis-usgov001-public.azure-apihub.us",
    "clientRequestId": "478dd3c0-7d4b-4b3a-97bb-dd76a57fb49f",
    "message": "BadGateway",
    "innerError": {
    "status": 504,
    "message": "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\r\nclientRequestId: 478dd3c0-7d4b-4b3a-97bb-dd76a57fb49f",
    "error": {
    "message": "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
    },
    "source": "sftpwithssh-usgt.azconn-gcc-usgt-001.p.azurewebsites.us"
    }
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard