Neonctl failing in github actions
Just started today for me, but when running the reset branch action i'm getting this error before any other output comes out:
ERROR: The request could not be authorized due to an internal error. It looks like I'm not the only one this started happening to: https://discord.com/channels/1176467419317940276/1318273579997200395GitHub
GitHub - neondatabase/reset-branch-action
Contribute to neondatabase/reset-branch-action development by creating an account on GitHub.
11 Replies
eastern-cyanOP•11mo ago
I rotated my api key and still getting the same error
other-emerald•11mo ago
x2 same error from Amplify on AWS
today I tried to do a redeploy and since today I'm getting this error, I tried to do it manually from the command and it works as expected, could it be that Neon is blocking the request from AWS or Github?
plain-purple•11mo ago
Hey! Do you mind sharing a code snippet of your GitHub action?
eastern-cyanOP•11mo ago
Saw your post on the linked thread that this was fixed. For posterity, this was the github action:
plain-purple•11mo ago
Yup. Issue should be fixed. Let us know if you run into any other issues
other-emerald•11mo ago
@Mahmoud I'm still having the same issue using this bash https://github.com/siegerts/neon-branches-amplify-cicd/blob/main/neon-ci.sh on amplify, the issue started yesterday, the weird part is if I try to run the same command on my local it works but on Amplify I got this ERROR: The request could not be authorized due to an internal error
GitHub
neon-branches-amplify-cicd/neon-ci.sh at main · siegerts/neon-branc...
Neon Postgres Branch for each Amplify Hosting app branch - siegerts/neon-branches-amplify-cicd
other-emerald•11mo ago
I also change the api key value but I got the same error
plain-purple•11mo ago
Hmm, which step fails exactly?
It seems that this might be not related to Neon
other-emerald•11mo ago
fails when try to create a new branch, but until friday was working fine and is odd because anything change
plain-purple•11mo ago
Can you try upgrading to the latest CLI version as well as action?
other-emerald•11mo ago
thanks, that fixed the issue