-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi! Thanks for making this, unfortunately I was not able to get it working. I tested on a large production Airtable base as well as a new Airtable with only a couple cells filled with text but kept getting the same error:
Fetching Airtable metadata
ZodError: [
{
"code": "invalid_type",
"expected": "object",
"received": "string",
"path": [],
"message": "Expected object, received string"
}
]Steps to reproduce:
- Install with
yarn add -D airtable-typegen - Add
AIRTABLE_TYPEGEN_ACCESS_TOKENwith read permission to.env - Run
airtable-typegen <BASE ID>on a minimal Airtable base
System info:
System Software Overview:
System Version: macOS 13.5 (22G74)
Kernel Version: Darwin 22.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 14 days, 2 hours, 1 minute
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: Mac14,10
Model Number: Z174000EBLL/A
Chip: Apple M2 Pro
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 32 GB
System Firmware Version: 8422.141.2
OS Loader Version: 8422.141.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels