Foreman - Ansible_callback configuration with Windows host

Unable to use the callback feature to gather facts from windows host to Foreman, below is the log after executing the playbook.

2020-10-06T14:34:56 [I|app|d7d2b47c] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 2158)
2020-10-06T14:35:00 [I|app|95636400] Started POST “/api/v2/hosts/facts” for at 2020-10-06 14:35:00 +0000
2020-10-06T14:35:00 [I|app|95636400] Processing by Api::V2::HostsController#facts as JSON
2020-10-06T14:35:00 [I|app|95636400] Parameters: {“facts”=>"[FILTERED]", “name”=>“win2016”, “apiv”=>“v2”, “host”=>{“name”=>“win2016”}}
2020-10-06T14:35:00 [I|app|95636400] Import facts for ‘win2016’ completed. Added: 0, Updated: 16, Deleted 0 facts
2020-10-06T14:35:00 [W|app|95636400] Action failed
2020-10-06T14:35:00 [I|app|95636400] Rendering api/v2/errors/custom_error.json.rabl within api/v2/layouts/error_layout
2020-10-06T14:35:00 [I|app|95636400] Rendered api/v2/errors/custom_error.json.rabl within api/v2/layouts/error_layout (Duration: 19.8ms | Allocations: 5909)
2020-10-06T14:35:00 [I|app|95636400] Completed 500 Internal Server Error in 327ms (Views: 24.2ms | ActiveRecord: 74.1ms | Allocations: 113869)
Expected outcome:
We should be able to see a new host created in Foreman with the related facts

Foreman and Proxy versions:
Foreman version: 2.1.3, windows host 2016

Foreman and Proxy plugin versions:

Name Description Author Version

foreman-tasks The goal of this plugin is to unify the way of showing task statuses across the Foreman instance. It defines the Task model for keeping the information about the tasks and Lock for assigning the tasks to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks. Ivan Nečas

version: 2.0.2

foreman_ansible Ansible integration with Foreman Daniel Lobato Garcia

version: 5.1.3

foreman_remote_execution A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality. Foreman Remote Execution team

version: 3.3.7

Katello adds Content and Subscription Management to Foreman. For this, it relies on Candlepin and Pulp. N/A

version: 3.16.0

Distribution and version:
Centos 7 (Foreman)
Centos7 (Smart-proxy)
Windows 2016 (Client)

Other relevant data:

Error from playbook:

TASK [Gathering Facts]
*****************************************************************************************************************************************************************************************************************ok: [win2016]
500 Server Error: Internal Server Error for url: