Can't sync repo or upload rpms (Katello 3.18)

I can’t sync or upload rpms to a custom repo in Katello 3.18-rc1. This was an upgrade from Katello 3.17.

I was originally getting undefined method `repository_href’ error which I fixed following this thread ([Katello] “NoMethodError: undefined method `repository_href’ for nil:NilClass” when syncing yum repos))

PulpRpmClient::ApiError: Error message: the server returns an error
Error message: the server returns an error
HTTP status code: 404
Response headers: {“date”=>“Mon, 22 Feb 2021 17:21:11 GMT”, “server”=>“gunicorn/20.0.4”, “content-type”=>“text/html; charset=UTF-8”, “x-frame-options”=>“SAMEORIGIN”, “content-length”=>“77”, “via”=>“1.1 puppetmaster-fqdn”, “connection”=>“close”}
Response body:

Not Found

The requested resource was not found on this server.

Expected outcome:
I should be able to upload or do a repo sync.

Foreman and Proxy versions:

  • foreman-2.3.0-0.7.rc1.el7.noarch
  • katello-3.18.0-0.1.rc1.el7.noarch
  • pulp-server-2.21.4-2.el7.noarch

Distribution and version:
RHEL 7.9

Is there something I can check in foreman-rake console to fix this issue or reset/rebuild the repo?

Unfortunately it’s part of a published content view so I can’t even delete it and rebuild it so I am stuck right now.