May 23, 2018 07:32:44 AM Edited May 23, 2018 07:46:20 AM by Slav S
I'm not sure how to post in API section, thus please move it to the correct section.
My goal is to list all Agency proposals in PHP. For this reason, I'm using:
$applications = new \Upwork\API\Routers\Hr\Freelancers\Applications(self::getClient()); $data = $applications->getList();
However the response I get is:
object(stdClass)[19] public 'server_time' => int 1527085451 public 'error' => object(stdClass)[20] public 'status' => int 400 public 'code' => int 0 public 'message' => string 'Bad Request: query param limit must be greater than or equal to 1' (length=65)
I'm not sure what limit should I send? There is no info in https://developers.upwork.com/?lang=php#contracts-and-offers_get-job-application-as-client
The second issue I notice is when I use:
$applications = new \Upwork\API\Routers\Hr\Freelancers\Applications(self::getClient()); $data = $applications->getSpecific(proposal_ref);
It works fine for freelancers, but if I want to get Agency Proposals, it returns me that I do not have permissions. Is there a way to get Agency Proposals? The user that I use has agency and he is the owner of the Agency, so permissions should be sufficient.
May 23, 2018 08:13:03 AM by Nina K
Hi Slav,
We'll have a member of the team reach out to you directly via an email support ticket to further assist you with your API issue and you'll be hearing from them shortly. Thanks!
Jan 15, 2020 02:53:59 AM by Jakub K
The same problem here. I'm trying to get data from the endpoint GET /api/hr/v4/contractors/applications and the following error is returned:
Bad Request: query param limit must be greater than or equal to 1
Is there any way to fix it?
Jan 15, 2020 03:04:41 AM by Goran V
Hi Jakub,
One of our team members will reach out to you via ticket as soon as possible and assist you further with your API. Thank you.
Jun 9, 2020 01:17:36 AM by Vipul J
I am getting the same issue, Can you please guide me, I can fetch data as a freelancer but I am not getting data as an agency, Is there any process for the configuration for calling API for the agency data or not.?
Jun 9, 2020 01:44:39 AM by Goran V
Hi Vipul,
Our team will reach out to you as well and will assist you further with your API. Thank you.