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 / Connecting to SAP Erp ...
Power Automate
Unanswered

Connecting to SAP Erp only worked once

(0) ShareShare
ReportReport
Posted on by 302

Hi, I was able to create a flow in which I called the SAP ERP Run diagnostics in a first step, and a BAPI_BANK_LIST function as described in the introduction at Introducing the SAP ERP connector | Microsoft Power Apps in a second step. The test of the flow succeeded. However, it worked only once. Whenever I try to re-run the flow or add other steps, I always get the following error:

 

The dynamic operation request to API 'saperp' operation 'GetSchema' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "Failed to execute Action: GetSchema The only destination YTBBG194VC3uLfYEAI4FLDSpDCg4t5yPKW50p8WUmo668d16/5tbPZQAzEYKqoTjXlI5zYTPP24nzZZyQ1jhqA==client available failed when retrieving metadata from PG0 -- see log for details", "error": { "message": "Failed to execute Action: GetSchema The only destination YTBBG194VC3uLfYEAI4FLDSpDCg4t5yPKW50p8WUmo668d16/5tbPZQAzEYKqoTjXlI5zYTPP24nzZZyQ1jhqA==client available failed when retrieving metadata from PG0 -- see log for details" }, "source": "saperp-we.azconn-we.p.azurewebsites.net" }

 

Categories:
  • JoaoSantos489 Profile Picture
    259 on at

    Hey,

    Did you manage to solve this question? I have the same problem...

  • bouillons Profile Picture
    302 on at

    No

  • mkozuch98 Profile Picture
    8 on at

    Hello, I have similar problem:

     

    The dynamic operation request to API 'saperp' operation 'GetSchema' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "Failed to execute Action: GetSchema The only destination +g0jv1HHtkiGT7qEMcyIWm/B90ZMOihHQ50zDHKm8KRXdJGWjTndISyf9LbCK/7yf/eGZtWIXVYYvfkA6eJStQ==client available failed when retrieving metadata from FRQ -- see log for details clientRequestId: 3b05e9ec-3d55-4460-9c5c-6ee10aec7c95", "error": { "message": "Failed to execute Action: GetSchema The only destination +g0jv1HHtkiGT7qEMcyIWm/B90ZMOihHQ50zDHKm8KRXdJGWjTndISyf9LbCK/7yf/eGZtWIXVYYvfkA6eJStQ==client available failed when retrieving metadata from FRQ -- see log for details" }, "source": "saperp-we.azconn-we-002.p.azurewebsites.net" }

     

    Has anyone solved this problem or find way how to go around ? I feel that SAP ERP connection is still undiscovered and fresh new funcionality.

  • JoaoSantos489 Profile Picture
    259 on at

    I managed to solve my problem.

    It has to do with the SAP User, check the permissions in SAP (RFC permission mainly)

  • TM82 Profile Picture
    6 on at

    Hi

    I malso facing the same issue. Can you please elaborate which permissions are need to be set in the SAP Server

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
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard