Sync's fail with version 3.16.2

Problem: After upgrading to 3.16.2, some proxies are failing to sync

Expected outcome: Successful sync of all proxy servers

Foreman and Proxy versions: 3.16.2

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 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 11.0.5
foreman_ansible Ansible integration with Foreman Daniel Lobato Garcia 17.0.2
foreman_leapp A Foreman plugin to support inplace RHEL upgrades with Leapp utility. Foreman Leapp team 3.0.0
foreman_remote_execution A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality. Foreman Remote Execution team 16.2.3
foreman_virt_who_configure A plugin to make virt-who configuration easy Foreman virt-who-configure team 0.5.26
katello Katello adds Content and Subscription Management to Foreman. For this it relies on Candlepin and Pulp. N/A 4.18.1

Distribution and version:

Other relevant data:

When attempting to perform an “Optimized Sync” of my proxy servers from the UI, 3 out of 4 of my proxies fail with the following errors…
DEV Proxy error - Last sync failed: ERF12-0457 [ProxyAPI::ProxyException]: Unable to update hosts ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy
PROD Proxy error - Last sync failed: ERF12-2051 [ProxyAPI::ProxyException]: Unable to refresh host-repository mapping ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy

I’m a little surprised nobody has replied with any information at all. Has anyone else experienced this problem? Does anyone know if version 3.17 has this Proxy sync failure problem? I appreciate any and all replies.