Upwork Job Auto Apply avatar
Upwork Job Auto Apply
Try for free

7 days trial then $50.00/month - No credit card required now

View all Actors
Upwork Job Auto Apply

Upwork Job Auto Apply

big-brain.io/upwork-application
Try for free

7 days trial then $50.00/month - No credit card required now

Pass a job application URL, Upwork login information, and messaging and automatically apply to a job. Pair with Upwork's RSS feeds to apply within minutes of a job being posted.

GA

Cannot read properties of undefined (reading 'match')

Closed

genuine_armoire opened this issue
2 years ago

Getting this error:

12022-12-20T20:19:48.873Z ACTOR: Creating Docker container.
22022-12-20T20:19:48.985Z ACTOR: Starting Docker container.
32022-12-20T20:19:51.758Z Starting X virtual framebuffer using: Xvfb :99 -ac -screen 0 1920x1080x24+32 -nolisten tcp
42022-12-20T20:19:51.759Z Executing main command
52022-12-20T20:19:53.088Z INFO  System info {"apifyVersion":"1.3.4","apifyClientVersion":"1.4.2","osType":"Linux","nodeVersion":"v16.18.1"}
62022-12-20T20:19:53.155Z ERROR
72022-12-20T20:19:53.157Z   TypeError: Cannot read properties of undefined (reading 'match')
82022-12-20T20:19:53.157Z       at /home/myuser/src/tools.js:15:18
92022-12-20T20:19:53.158Z       at Array.forEach (<anonymous>)
102022-12-20T20:19:53.159Z       at exports.validateStartUrls (/home/myuser/src/tools.js:14:10)
112022-12-20T20:19:53.159Z       at /home/myuser/main.js:19:5
122022-12-20T20:19:53.160Z       at processTicksAndRejections (node:internal/process/task_queues:96:5)
132022-12-20T20:19:53.161Z       at async run (/home/myuser/node_modules/apify/build/actor.js:182:13)

Here is my config:

1"autoRefill": false,
2    "coverLetter": "{redacted}",
3    "debugMode": true,
4    "defaultAnswer": "Let's get on a call",
5    "password": "{redacted}",
6    "proxyConfig": {
7        "useApifyProxy": true,
8        "apifyProxyCountry": "US"
9    },
10    "securityQuestion": "{redacted}",
11    "startUrls": [
12        {
13            "requestsFromUrl": "https://www.upwork.com/ab/proposals/job/~01af4023fa926fb8ef/apply/"
14        }
15    ],
16    "testMode": false,
17    "username": "{redacted}"
18}```
VL

vladislav

2 years ago

I am seeing the same error. Any update on this?

Big-Brain.io avatar

Hi Vladislav, it appears you're missing a couple of inputs. Try adding apifyProxyGroups field, freelancer, and autoRefill fields to your query. Here is an example of a working input.

{ "username": "{Username}", "password": "{Password}", "startUrls": [ { "url": "https://www.upwork.com/ab/proposals/job/~01c57d3e388a42777a/apply/#/", "method": "GET" } ], "coverLetter": "{Cover Letter}", "securityQuestion": "{Answer}", "proxyConfig": { "useApifyProxy": true, "apifyProxyGroups": [ "qfCaFFuCodXxAS59E" ] }, "debugMode": true, "testMode": false, "agency": "", "freelancer": "{Name on Upwork Account}", "autoRefill": true }

PP

puce_pear

2 years ago

I get the same error but only when i try to link a CSV with links or upload a text file with links - if i add one link then it works

VL

vladislav

2 years ago

Give me your sample JSON code so I can test please?

--

"You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.” ~Richard Buckminster Fuller

VL

vladislav

2 years ago

Nope, still not working.

There was an uncaught exception during the run of the actor and it was not handled.

https://api.apify.com/v2/logs/G5FxmQBPtqRbo8qBM


"You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.” ~Richard Buckminster Fuller

Big-Brain.io avatar

Use a proxy group instead of just specifying a country. The documentation with an example input has been update.d

Developer
Maintained by Community
Actor metrics
  • 9 monthly users
  • 3 stars
  • 93.7% runs succeeded
  • Created in May 2021
  • Modified 3 months ago