Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Error "Input file contains unsupported image format" #76

Open
s5no5t opened this issue May 18, 2020 · 1 comment
Open

Error "Input file contains unsupported image format" #76

s5no5t opened this issue May 18, 2020 · 1 comment

Comments

@s5no5t
Copy link

s5no5t commented May 18, 2020

I am trying to get build gatsby-contentful-starter in CI. However, in about 50% of runs, I get the following error(s):

There was an error in your GraphQL query:
 

Input file contains unsupported image format

or

VipsJpeg: Not a JPEG file: starts with 0x00 0x00
 

 

 
   1 | fragment GatsbyContentfulFluid_tracedSVG on ContentfulFluid {
 
>  2 |   tracedSVG
 
     |   ^
 
   3 |   aspectRatio
 
   4 |   src
 
   5 |   srcSet
 
   6 |   sizes
 
   7 | }
 
   8 | 
 
   9 | query BlogIndexQuery {
 
  10 |   site {
 
  11 |     siteMetadata {
 
  12 |       title
 

I have updated to the latest gatsby and plugin versions.

Is anyone else experiencing this issue?

@ludwigjo
Copy link

Hi, yeah I had this exact issue and ended up replacing GatsbyContentfulFluid_tracedSVG with GatsbyContentfulFluid in my GraphQL query. By doing this, the images are loaded as a blurry version initially and then converges to a clear image as a part of gatsby-image.

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

No branches or pull requests

2 participants