Using a Gatsby Airtable source, images load via GraphQL, but the Gatsby Image component errors with ‘fluid’ undefined. How can I correctly map and query my files?
hey, check if your image file is nested in childImageSharp! i fixed a similar error by remapping my query to get fluid device data. might also be a plugin upd8 needed. good luck!
I encountered a similar issue with the Gatsby Airtable source. The problem turned out to be that the fluid attribute was not being pulled from the correct node in my GraphQL query. After scrutinizing my schema, I realized that the image was nested under childImageSharp. I carefully updated my query and ensured my gatsby-plugin-sharp and gatsby-transformer-sharp plugins were configured properly. Then, I added some debug logging to verify that the returned nodes had the correct structure. Adjusting the query in this way resolved my problem.