Discovered hosts: Unable to provision

Problem: Unable to provision hosts from “Discovered hosts”

**Expected outcome:**Provisioning of the host should be doable.

**Foreman and Proxy versions:**1.22.1

Other relevant data:
When choosing a discovered host neither “Customize hosts” nor “Create host” is working properly. I am unable to assign a discovered host to an organization/hostgroup/location.