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

tracedSVG error when using image-url (non local) as hero in post #87

@LB22

Description

@LB22
 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

toFormat seems to be empty, we need a fileExtension to set it.

   1 | fragment GatsbyContentfulFluid_tracedSVG on ContentfulFluid {
>  2 |   tracedSVG
     |   ^
   3 |   aspectRatio
   4 |   src
   5 |   srcSet
   6 |   sizes
   7 | }
   8 |
   9 | query BlogPostBySlug($slug: String!) {
  10 |   site {
  11 |     siteMetadata {
  12 |       title

File path: C:/Users/Me/Documents/Programming/Websites/contentful-starter/src/templates/blog-post.js
Url path: /blog/a-new-post/
Plugin: none

not finished run page queries - 0.045s

This error comes from me going to google, right-clicking any image, choosing "copy image address" and pasting that link in a Contentful entry when submitting a URL for my hero image. This issue goes away when I replace the image with a local image that I instead upload to Contentful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions