Failed to execute puppetrun:ERF12-4252[ProxyAPI::ProxyException]

When I click 'run puppet ’ ,report error:Unable to execute puppet run ([RestClient::InternalServerError]:500 Internal Server Error) proxy server
I checked that the puppet and puppetserver services are normally turned on.What causes this problem?
Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

I checked the foreman proxy log and found an error.[E] Failed puppet run :Dependency ‘puppet_runner_impl’ is undefined.