HTTP 403 on Auth
See original GitHub issue- version: 1.21
node
version: v14.14.0npm
(oryarn
) version: 6.14.8
Do you want to request a feature or report a bug?: Bug
What is the current behavior?: Currently authenticating to Pixiv’s API is throwing a 403 due to a Cloudflare ratelimit page requesting me to complete a captcha to continue
What is the expected behavior?: Authentication should succeed.
Suggested solution: It appears the Pixiv.py team are working through the same issue here: https://github.com/upbit/pixivpy/issues/140
I personally edited my local dependency for testing and simply adding a ‘User-Agent’ header with the following value seems to have fixed the issue: PixivAndroidApp/5.0.115 (Android 6.0; PixivBot)
Perhaps adding an option to specify a User-Agent header would allow us to easily bypass this issue for the time being.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13
Top Results From Across the Web
Forbidden (403), Unauthorized (401), or What Else? - Auth0
403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on...
Read more >HTTP Error 403 Forbidden: What It Means and How to Fix It
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it...If authentication credentials ...
Read more >403 Forbidden vs 401 Unauthorized HTTP responses
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it. A server that wishes to make ......
Read more >403 Forbidden - HTTP - MDN Web Docs - Mozilla
The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.
Read more >How Do I Fix 403 Authorization Error? - Pearl Lemon Web
The status code 403 (Forbidden) indicates that the server understands the request but refuses to allow it. If the server receives authentication ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
can i ask you to try something? replace code in your index.js (un module/dist) to this https://github.com/akameco/pixiv-app-api/blob/e84bb2513c3c0fffc4875ac17a0b15c22f90133c/src/index.ts and try again it’s helped me
Nevermind i migrated to pixiv-api-client and just implemented a token refresh and notification system