Option apiKey is required
Please can someone tell me why I keep getting
Option apiKey is required
1 Reply
You should setup the api key in your .env params or pass it manually.
Pass it manually: https://xata.io/docs/sdk/typescript/overview#manually-passing-the-apikey
Pass it using .env params: https://xata.io/docs/getting-started/installation#env
Installation & API keys
How to authenticate against a Xata database
TypeScript SDK for Xata
Use the SDK as a schema-based, schema-less, or an API client