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

unhandled promise rejection warning? #3

Open
sunflowerIU opened this issue Dec 8, 2021 · 1 comment
Open

unhandled promise rejection warning? #3

sunflowerIU opened this issue Dec 8, 2021 · 1 comment

Comments

@sunflowerIU
Copy link

UnhandledPromiseRejectionWarning: Error: Request failed with status code 404
at createError (E:\python notes\fantia-downloader-master\node_modules\axios\lib\core\createError.js:16:15)
at settle (E:\python notes\fantia-downloader-master\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (E:\python notes\fantia-downloader-master\node_modules\axios\lib\adapters\http.js:269:11)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:8964) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async

@moontai0724
Copy link
Owner

Hi sunflowerIU,

This is what I guess:

Seems like the post of id which you given was not exist, so it cannot found the post.
Can you access the post in browser? URL format: https://fantia.jp/posts/${Post ID}, like: https://fantia.jp/posts/123456.

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

2 participants