Issue
When generating or migrating DocGen packages, the following error might occur:
Unauthorized-endpoint-please-check-Setup-Security-Remote-site-settings-endpoint-https-api-docgen-nintex-io-salesforce-auth
Resolution
Verify that the remote site is active in the remote site settings
See all remote sites HERE