Foreman isn't adding hosts to puppet

Problem:
I’ve had foreman and puppet working for a while now. I’ve recently gone to add two new hosts. I can add the hosts using the Foreman web interface. If I reboot the new hosts, they build but they do not provision with the settings from puppet.

In /var/log/puppetlabs/puppetserver/puppetserver.log:

Unable to read from Cache file: No such file or directory - /opt/puppetlabs/server/data/puppetserver/yaml/foreman/node14.secure.company.com.yaml

When running [root@node14 ~]# puppet agent --test:

Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 500 on SERVER: Server Error: Failed to find node14.secure.company.com via exec: Execution of '/etc/puppetlabs/puppet/node.rb node14.secure.company.com' returned 1:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed when searching for node node14.secure.company.com: Failed to find node14.secure.company.com via exec: Execution of '/etc/puppetlabs/puppet/node.rb node14.secure.company.com' returned 1:
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Expected outcome:
The puppet agent runs successfully

Foreman and Proxy versions:
Foreman 1.16.1
(It is possible that this broke after upgrading from 1.13)

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

Thank you,

Rob