A 401 error means that an error occurred. Often, this is because API authentication failed. This can be because:
- The API key in the config.yml and XF options does not match
- The IP is not whitelisted properly in the XF options
To resolve this issue, ensure that the API key is the same in the config.yml and XF options. Also ensure the IP has been whitelisted in the XF options.