Hey guys. I am having an issue with setting up an API call to PhantomBuster and hoping I can get some help. This is a long one so bear with me plz.
I know Make has PhantomBuster modules built in, but there seems to be some kind of developer issue with the module. From what I’ve seen in another post, it was already reported and Make is looking into it as we speak. So I’m trying to call the API manually with a HTTP request.
The Phantom I am trying to launch is the Linkedin URL scraper. It requires the persons full name and the name of their company.
I added these arguments in the body of the request along with the other necessary keys as follows:
{
“id”: “4016421785064731”,
“saveArgument”: true,
“manualLaunch”: true,
“maxinstancecount”: 1,
“argument”: {
“FullName”: “[Full Name]”,
“Company”: “[Company Name]”
}
}
I’ve added the necessary headers and I get a successful request. But when the phantom launches, I keep getting an invalid configuration notice in Phantom Buster, even though I set it up correctly.
The output I am getting from PhantomBuster is as follows:
(node:1) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at Announcing end-of-support for AWS SDK for JavaScript v2 effective September 8, 2025 | AWS Developer Tools Blog
(Use node --trace-warnings ...
to show where the warning was created)
- Container 1431197680354130 started in br-scw-nl-nh-2-rickard (Thu Oct 31 2024 15:18:51 GMT+0000 (Coordinated Universal Time))
- Got dependency LinkedIn Profile URL Finder.js
- Spawning Node v16.20.2
- using version 1.515.6
(node:17) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at Announcing end-of-support for AWS SDK for JavaScript v2 effective September 8, 2025 | AWS Developer Tools Blog
(Use node --trace-warnings ...
to show where the warning was created)
Argument: { FullName: ‘Simone Severino’, Company: ‘Strategy Sprints Gmbh’ }
Error: the Phantom Configuration is invalid:
- => must have required property ‘spreadsheetUrl’
- => must have required property ‘queries’
- => must have required property ‘queries’
- => must match exactly one schema in oneOf
- => must have required property ‘firstNameColumnName’
- => must have required property ‘lastNameColumnName’
- => must match “then” schema
- => must match “then” schema
- Process finished with an error (exit code: 1) (Thu Oct 31 2024 15:18:53 GMT+0000 (Coordinated Universal Time))
If this was set up in PhantomBuster instead of Make, you’d be required to attach a google sheet with the Full Name and Company Name. But I am scraping the name and company name using chatgpt and sending it directly to phantom buster.
Can anyone help me with this?