If you only want to publish documentation and not to API Network, to unblock yourself for now, while we investigate this, you can turn off Collection Discoveryon the page and you should be able to publish the collection without seeing this modal/error.