Error creating new ad-hoc webhook via actor run API call
I am trying to create an Ad-Hoc Webhook when calling the API to start an actor run and I keep getting an error saying
"Webhooks parameter is not a valid JSON: Unexpected token z in JSON at position 0"
.
I'm pretty confident the json is correct, so not sure what to do here.
The code that is being used to submit the Http request (I am using Rails 5.2 with Ruby 2.7.7):
Thanks1 Reply
sensitive-blueOP•2y ago
After some more experimenting, I was able to get the request to submit without error by moving the
webhooks
value into the body of the post
request, instead of in the query
params.