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?