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

403 error #6276

Open
pp90opk opened this issue Mar 6, 2024 · 2 comments
Open

403 error #6276

pp90opk opened this issue Mar 6, 2024 · 2 comments

Comments

@pp90opk
Copy link

pp90opk commented Mar 6, 2024

Describe the issue

I am working with an api, and with axios, it always return 403 error, if set proxy to charles, it works and returns 200. I also tried with python's request, with the same config, it also works. I tried withCredentials: true, but it doesnot work.

Example Code

No response

Expected behavior

No response

Axios Version

1.6.7

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

v18.17.1

OS

windows11

Additional Library Versions

No response

Additional context/Screenshots

No response

@RedYetiDev
Copy link

Is there any more information you can provide? Typically, when you get different response codes from different software, it concerns the headers being sent; maybe try a browser user-agent?

@Junmarkchi97
Copy link

Having this issue for hours, It works when using fetch() but on axios it doesn't

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