Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AxiosError: Request failed with status code 400 #10

Open
the-dut opened this issue Dec 22, 2022 · 2 comments
Open

AxiosError: Request failed with status code 400 #10

the-dut opened this issue Dec 22, 2022 · 2 comments

Comments

@the-dut
Copy link

the-dut commented Dec 22, 2022

Wanted to get this done so bad in time for a Christmas release, but looks like I'll just have to wait until the official Firebase fix in Q1 2023. I'm getting a Axios 400 error while creating the Refresh token. I have a feeling something just isn't right with my P8 file. When I get the JWT and test it at JWT.io, it always has an invalid signature and the call to Apple is probably failing. Ugh. If you have any ideas on where to look, that would be great! Otherwise I'll just wait for the official fix in 2023. Regardless, thanks for providing this solution!

@jooyoungho
Copy link
Owner

Hello, Apple's error is unkind, but if it is a 400 error, it is possible that the key is not set properly. We recommend that you check the Apple developer homepage to make sure your key is associated with the correct application and that you have signed in with apple correctly.

@ariarora14
Copy link

I'm facing this same issue for the last 36 hours @the-dut @jooyoungho . Were you both able to resolve this ever?
I read on some forum that sometimes it takes 48 hours for the Apple Key to start working publicly but not too sure about that. Anything at all will help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants