AWX cannot find matching host

I have on premise AWX and inventory (instances on AWS). To provision newly launched instance I want to use provisioning callbacks.
But when executing this command from the instance

$ curl -v -H 'Content-Type:application/json' -d '{"host_config_key": "key1"}' https://my-host.com/api/v2/job_templates/28/callback/

an error occurs

{"msg":"No matching host could be found!"}

What might be wrong with AWX configuration if host is present within the dynamic inventory and UPDATE ON LAUNCH flag is enabled?

Go to Source
Author: Most Wanted