Hi there,
We are using the Javascript SDK for the Contentstack delivery API. We are instantiating our Stack the same way the documentation says we are supposed to, but we still get a “Kindly provide valid parameters” wherever we use the call.
Any insight would be appreciated.
const Stack = contentstack.Stack({
api_key: process.env.CONTENTSTACK_API_KEY,
delivery_token: process.env.CONTENTSTACK_DELIVERY_TOKEN,
environment: process.env.CONTENTSTACK_ENVIRONMENT,
region: process.env.CONTENTSTACK_REGION ? process.env.CONTENTSTACK_REGION : 'us',
branch: process.env.CONTENTSTACK_BRANCH ?? 'main'
});
Thanks
Best answer by Sachin
View original