We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ERROR UNHANDLED REJECTION Request failed with status code 404 Error: Request failed with status code 404 - createError.js:16 createError [hoangvvo-gatsby-site]/[axios]/lib/core/createError.js:16:15 - settle.js:17 settle [hoangvvo-gatsby-site]/[axios]/lib/core/settle.js:17:12 - http.js:210 RedirectableRequest.handleResponse [hoangvvo-gatsby-site]/[axios]/lib/adapters/http.js:210:9 - index.js:269 RedirectableRequest._processResponse [hoangvvo-gatsby-site]/[axios]/[follow-redirects]/index.js:269:10 - index.js:50 ClientRequest.RedirectableRequest._onNativeResponse [hoangvvo-gatsby-site]/[axios]/[follow-redirects]/index.js:50:10 - stream_base_commons.js:181 TLSWrap.onStreamRead internal/stream_base_commons.js:181:2
This error was caused by a Contentful image in markdown that is 404. However, it took me hours to figure it out because I had no clue.
Create a Contentful post and insert a 404 Contentful image link (in my case, I deleted the image without noticing that I had added it a while ago)
Something to more specific. Pointing out which markdown node caused the error would save a lot of trouble.
gatsby/packages/gatsby-remark-images-contentful/src/index.js
Lines 73 to 77 in 8fd5877
A general axios error.
n/a
The text was updated successfully, but these errors were encountered:
would love to work on this one if it is reasonable to add
Sorry, something went wrong.
@hoangvvo we would love to accept a PR that describes the error.
I'm thinking something as simple as Image downloading failed for X, please check if the image still exists on contentful.
Image downloading failed for X, please check if the image still exists on contentful
Successfully merging a pull request may close this issue.
Description
This error was caused by a Contentful image in markdown that is 404. However, it took me hours to figure it out because I had no clue.
Steps to reproduce
Create a Contentful post and insert a 404 Contentful image link (in my case, I deleted the image without noticing that I had added it a while ago)
Expected result
Something to more specific. Pointing out which markdown node caused the error would save a lot of trouble.
gatsby/packages/gatsby-remark-images-contentful/src/index.js
Lines 73 to 77 in 8fd5877
Actual result
A general axios error.
Environment
n/a
The text was updated successfully, but these errors were encountered: