402 payment required error when pulling docker image

Hi, we just got “402 payment required” error when pulling docker image of tyk gateway, we used to not get this error, and we already used it for several months.

This only happens in Github Action workflow, while in my local environment works fine. Do you have some suggestion how to fix it? I have attached the detail of error. Thank you.

#0 building with "default" instance using docker driver

#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 378B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.tyk.io/tyk-gateway/tyk-gateway:v4.3.3
#3 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://docker.tyk.io/v2/tyk-gateway/tyk-gateway/blobs/sha256:209681141c5b6abe14be606a6e439dae9e69dfe7c3f22a5cc51703f0b441d477: 402 Payment Required

Hi @Raka

There is an issue with image repositories at the moment. We hit our quota and it needs to be renewed. I’ll update this thread when there is an update

Hi @Olu
Thanks for the reply. I have just changed the base docker image to “tykio/tyk-gateway$VERSION”. It seems working fine. But let me know which one is preferred.

Great news! The issue has been resolved.

That’s a good workaround.

We do have a preference for docker.tyk.io but you could also use the one from DockerHub.