Skip to content

Empty localAsset in graphql query #219

@GlebKoley

Description

@GlebKoley

I have the data in the Contentstack. I get everything I need through graphml, but when I want to get a localAsset of images, nothing comes out. I've already tried a lot of things, nothing helps. I expect the publicUrl field to be in the request graph in localAsset, here is an example from the gatsby-source-contentstack documentation -

image
but I don't have it. What could this be related to? Can you please help with this issue.

package.json - "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.12", "axios": "^1.6.7", "dotenv": "^16.4.5", "gatsby": "^5.13.3", "gatsby-image": "^3.11.0", "gatsby-plugin-image": "^3.13.1", "gatsby-plugin-react-helmet": "^6.13.1", "gatsby-plugin-react-svg": "^3.3.0", "gatsby-plugin-sharp": "^5.13.1", "gatsby-source-contentstack": "^5.3.0", "gatsby-source-filesystem": "^5.13.1", "gatsby-transformer-sharp": "^5.13.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-helmet": "^6.1.0", "recoil": "^0.7.7", "styled-components": "^6.1.8" }

gatsby-config -
image

I have downloadImages set to true, but for some reason there is also no image when building public/static.

graphql -
image

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