401 Unauthorised when downloading a signed distribution Release file

Hello, I am busy setting up the Debian Package Registry Features. I have successfully setup a distribution and have successfully setup CI/CD to compile and upload my project to said distribution

curl --request PUT --user "gitlab-ci-token:${CI_JOB_TOKEN}" "http://test.com/api/v4/groups/52/-/packages/debian/bruce_${VERSION}-1_all.deb?distribution=skynet&component=main" --upload-file "${DEB_FILE}"

This upload returns no errors. I have also followed the instructions provided here (Debian packages in the package registry | GitLab) to setup a second device to install packages from the configured Debian repository.

Upon successfully installing the key, the subsequent sudo apt-get update fails for the newly specified repository with error 401 on
http://test.com/api/v4/groups/52/-/packages/debian/dists/skynet/InRelease

Testing with curl

curl --header "Deploy-Token:testestestestest" "http://test.com/api/v4/groups/52/-/packages/debian/dists/skynet/InRelease"

I also get error 401.

The group access token in question has read_api and api permissions (and for testing purposes the owner role) and it always returns error 401 for that request

What am I doing wrong? Is this a bug with the Debian API as it is experimental? Did I screw up providing the credentials?

Whatever it is, any help is much appreciated.

With Regards, AwesomeDude091

Note: I am currently running my self-hosted gitlab in LAN that is why all the requests are http and not https