Waystones (Fabric Edition)

Waystones (Fabric Edition)

3M Downloads

Failed to build

bravely-beep opened this issue ยท 3 comments

commented

Getting the error

Could not GET 'https://maven.pkg.github.com/ModdingForBlockheads/Balm/net/blay09/mods/balm-fabric/4.1.0+283/balm-fabric-4.1.0+283.pom'. Received status code 401 from server: Unauthorized

on the 1.19 branch.

Error persists even when I put my github username and Personal Access Token directly into build.gradle

Accessing 'https://maven.pkg.github.com/ModdingForBlockheads/Balm/net/blay09/mods/balm-fabric/4.1.0+283/balm-fabric-4.1.0+283.pom' in a web browser and entering the same credentials allows me to download the file, but using gradle through IntellJ IDEA fails

commented

The issue persists after doing that too. I'll double-check that my github key is correct, but it might be worth checking on your end that Github accounts that aren't yours have been given access here.

EDIT: I tried accessing the file directly in a web browser again, and I'm getting this error now:

<Error>
<Code>AccessDenied</Code>
<Message>Request has expired</Message>
<X-Amz-Expires>300</X-Amz-Expires>
<Expires>2022-06-18T22:59:01Z</Expires>
<ServerTime>2022-06-19T10:32:55Z</ServerTime>
<RequestId>Q6VKKFWVGY2J2QK8</RequestId>
<HostId>N/inxKgtS4OnTnuU19kiizNdMwP6yJhEwIAo/HDANOkx1SuHfQOf8UDGucbBwO9s9O+qNIiY5Ik=</HostId>
</Error>```
commented

Oops, I used the wrong PAT after all

Apologies!

commented

Create a gradle.properties in your %USERPROFILE%/.gradle or ~/.gradle folder with content as such:

gpr.user=
gpr.key=