gatsby
gatsby copied to clipboard
Media Image is null.
Preliminary Checks
- [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- [X] This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
- We have a media image field in drupal site.
- I need to pull the media image field from home page content and show it.
- When I run the graph ql, media image field returns null.
- create-schema-resolve.js
- Rest API url
https://**/jsonapi/node/homepage/d8e84958-928d-499d-b748-f80feb5c0eec
It returns object. but once I run the graphql, I got the null.
Steps to Reproduce
- gatsby clean
- gatsby start
Expected Result
Media Image field should have image information.
Actual Result
Null.
Environment
System:
OS: Linux 4.4 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 3.2.0 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.6.5 - ~/.nvm/versions/node/v18.16.0/bin/npm
Languages:
Python: 2.7.18 - /usr/bin/python
npmGlobalPackages:
gatsby-cli: 5.12.4
Config Flags
No response
can i work on this?
Can you please assign it to me?