#Has anyone used Zapier before? tryna

1 messages ยท Page 1 of 1 (latest)

frank quarry
#

I have, welcome to hell.

barren river
frank quarry
#

are you sending a post to zapier with your events? whats the scenario?

barren river
#

yeah so lemme give u the rundown

frank quarry
#

(been a long time since i did this but I'll try and help)

barren river
#

so im sending this post request

#

and it's working

#

HOWEVER

#

this is what im sending with zapier webhooks

#

really dont understand where im going wrong

#

so not getting an input error or anything

#

im getting this internal server error

#

which my server is working cause its working with POSTMAN

#

any idea ๐Ÿ™

#

@frank quarry this_tbh

frank quarry
#

so you're using zapier to make a post request to your nextjs deployment on vercel?

barren river
#

correct !

frank quarry
#

do you see the request and any related errors when you go to your_deployment_url.com/_logs?

frank quarry
#

well, the good news is you got a new error

#

and you doing anything with upstash/redis?

barren river
frank quarry
#

yeah i was about to say, looks like the value isnt coming through or you're accessing it wrongly maybe

barren river
#

so im setting my zapier hook up incorrectly

#

because working from postman

frank quarry
#

yeah probably, gotta check dat config

#

do the classic console.log and print out that entire request body with JSON.stringify and see wth is going on

barren river
#

yeah how do i see the request its sending from zapier

#

uknow what i mean

frank quarry
#

when in doubt, console.log in prod thumbsup

#

i thought it could show it in the log view of vercel, but I may have dreamed that

barren river
#

how do i console.log in prod brotha

frank quarry
#

it'll show in the vercel log view (i think, idk, dont quote me) when you select the line for the request

#

lemme check that actually

barren river
#

i think the email im sending it is coming in as null

#

ty โค๏ธ

frank quarry
#

ok yeah so if you log something it shows in the / request line in logs if you select it

#

and yeah i reckon its not coming from zapier correctly

#

you're welcome ๐Ÿ™‚

#

and good choice on redis btw, love that boi

barren river
#

@frank quarry I FIXED IT

#

i removed the array wrapping from the zzapier webhook

#

ahahaha

#

thank u so much

#

also yeah redis seems so simple and flexible

#

thank you man. really appreciate u taking the time

frank quarry
#

np bro, just sittin coffee while i wait for the dry cleaner to open

#

c u next time