Request fails for Zapier, but succeeds with curl
andrewminer
PROOP

a year ago

I have a number of services which post data to Zapier as a webhook. Zapier then calls an appropriate hook on my own server so that it can be acted upon. I have several of these working already, but I'm having problems with a new one I'm trying to set up.

When Zapier attempts to make a POST request to https://new.authmo.co/api/hook/sprout/shoot with "Content-Type: application/json" and "X-AUTHMO-KEY: ********" headers along with a valid JSON body (e.g., "{}"), it receives a 400 response, despite all of this being a valid request. To double-check this, I've made an identical request from my own computer using curl. Everything works as expected, and I get a 200 response.

Unfortunately, the only place this logged is in the HTTP logs for that specific instance, and there's nothing there which helps me figure out why these two requests are being treated differently. Can you please take a look?

2 Replies

brody
EMPLOYEE

a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody about 1 year ago


andrewminer
PROOP

a year ago

Here's a screenshot showing the information available in the HTTP logs for the two requests in question.

Attachments


brody
EMPLOYEE

a year ago

Hello,

Fun fact, that information that is available to you for the HTTP logs is the exact same and only information available to us.

All that to say, unfortunately we aren't able to offer you any more information in this regard.

You will have to add debugging capabilities to your application to figure out what about the requests are different that is causing your app to return that 400 status code.

Best,

Brody


Loading...