Getting "Field input.proxy is required", trying to test API (Run actor) using the console. Getting
Hello, I am testing the API via the console before I actually right code using the node.js library. One basic call I am trying to run is:
https://api.apify.com/v2/acts/shu8hvrXbJbY3Eb9W/runs?token={my_token_here}&maxItems=1000
But the response I get is :
{
"error": {
"type": "invalid-input",
"message": "Input is not valid: Field input.proxy is required, Field input.proxy is required"
}
}
The docs do not mention anything about a proxy field and how to get the value to put in it. Other calls like getting list of runs (that I did manually via the console, not trying to use the API) or getting the details of the run work.
How do I add the proxy value? As a query property? And where do I actually get the value for that property?
Thank you
1 Reply
sunny-green•2y ago
Hey there! It IS explained in the docs: https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor Proxy field is just part of the input of the actor. You could check the expected input in the console, and either provide as as payload, or just save is a task and start the task without any input (i.e. using the saved one)