Question

Can't make custom request work with webshare.io

  • 3 February 2022
  • 4 replies
  • 78 views

Userlevel 1

I’m trying to fire a custom request with zapier towards webshare.io and I always get a bad request

The requests fires properly from postman if the body contains 

{
"authorized_ips": [
"176.147.128.142",
"86.198.225.147",
]
}

in my custom request, I am generating an array with some code and then I am trying to fire the request without success.

ip_array is a javascript array, and I have tried the following in the data field of the custom request:

  1. authorized_ips: ip_array
  2. “authorized_ips”: ip_array
  3. JSON.stringify({“authorized_ips”: ip_array}); 

nothing works, any clue ?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +14

Hi @safireo 

Please post screenshots with how your Zap step is configured along with the returned error.

Please include the link to the API endpoint documentation you are referencing.

Try removing the trailing comma

 

Userlevel 1

hi @Troy Tessalone 

Here is the detail about the request.

It’s not dependent on other steps

If I post the exact same content from postman it’s working :/ 

here is the doc of webshare, but again, it’s not the use of webshare but rather the configuration of the step on zapier that does not work: https://proxy.webshare.io/docs/#update-proxy-config

What am I missing?

Userlevel 7
Badge +14

@safireo 

Please post screenshot with how your Zap step is configured on this section:

 

Userlevel 7
Badge +14

@safireo 

 

Looks like you might be missing a Header for Content-Type