Airtable data missing from GraphiQL explorer

I’m having trouble getting my Airtable data to appear in the GraphiQL interface. I installed the necessary plugin using yarn and configured my gatsby-config.js file properly, but the data still won’t show up.

Here’s my configuration:

require("dotenv").config({
  path: `.env.${process.env.NODE_ENV}`,
})

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-airtable`,
      options: {
        apiKey: process.env.GATSBY_AIRTABLE_KEY,
        concurrency: 3,
        tables: [
          {
            baseId: process.env.GATSBY_AIRTABLE_DATABASE_ID,
            tableName: `Portfolio`,
            mapping: {photo: `fileNode`}
          }
        ]
      }
    }
  ]
}

I’ve already cleared the Gatsby cache and restarted the development server with admin privileges, but allAirtable still doesn’t appear in GraphiQL. What could be causing this issue?

sounds like a timing issue with your build. run gatsby clean then gatsby develop --verbose to catch any errors during data sourcing. the airtable plugin sometimes fails silently when there’s connection probs or you’re hitting rate limits.

I had the same issue recently - turned out to be my API key setup. Double-check that your GATSBY_AIRTABLE_KEY has read permissions for your base. Also make sure GATSBY_AIRTABLE_DATABASE_ID is the actual base ID, not the base name. You’ll find the correct ID in your Airtable API docs. Check that your .env file is in the project root and variables are loading correctly. Try logging them in gatsby-config.js to catch any undefined values. If you’re still stuck, test with a simple Airtable with just text fields to rule out mapping issues.