Error: Response status code does not indicate success: 401 (Unauthorized)

Hello, this is my first step using packages, so I probably missed something along the way.
I’ve followed the tutorial for the nuget package, but when I try to push my package, as a private package to my repo, I get the following message (I hide my info and I was unable to have more than 2 links):

dotnet nuget push AppLoggerTest.1.0.0.nupkg -s https://nuget.pkg.github.com/OWNER/index.json
Pushing AppLoggerTest.1.0.0.nupkg to ‘same link as the -s option without the index.json’…
PUT same link as the -s option without the index.json
warn : Your token has not been granted the required scopes to execute this query. The ‘id’ field requires one of the following scopes: [‘read:packages’], but your token has only been granted the: [’’] scopes. Please modify your token’s scopes at: https://github.com/settings/tokens.
Unauthorized same link as the -s option without the index.json 364ms
error: Response status code does not indicate success: 401 (Unauthorized).

I’ve also tried with a key with every possible checkbox checked, but the message is exactly the same. I’ve try many different things over the last day, like trying directly with nuget.exe and I’m still clueless of what I’m doing wrong.
The error message is obvious, but since I’ve checked everything for my key, I don’t know where I could add more permissions.

Does anyone know what I’m missing?