You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using nextJS, hosted with Vercel and i've used the airtable npm package. Everything works perfectly locally - i can send a create POST request and it updates my airtable.
In production when I do the same thing, nothing is posted to my airtable.
Things I have done:
double checked env variables in vercel, they're all there and correct.
I have checked vercel logs and i'm getting no errors, pasted an image of logs below - getting 200 back.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using nextJS, hosted with Vercel and i've used the airtable npm package. Everything works perfectly locally - i can send a create POST request and it updates my airtable.
In production when I do the same thing, nothing is posted to my airtable.
Things I have done:
Does anyone have any suggestions about what else I can try? I dont have any errors anywhere that i can see, its just not posting into airtable.
I've included some code snippets below this too.
log from vercel - apparently successful POST - but data didnt make it to airtable
Implementing the POST in my app:
The pages/api/ route
In my utils folder
Next config
Package.json dependencies
Beta Was this translation helpful? Give feedback.
All reactions