Hi. I'm using an AI agent to search linkedin. All the searches work except for the linkedin search. I get this: 2Visited website" https://www.linkedin.com/company/marketmentors Error: Cannot convert undefined or null to object Happens for every linkedin url. Any thoughts about this?
The error you're encountering might be due to incorrect JSON formatting for the LinkedIn search. To fix this, ensure you're using the correct JSON format: { "url": "/LinkedInurl" }. To help troubleshoot further, could you please copy and paste the exact JSON you're using for the LinkedIn search into the chat? This will allow us to identify any potential formatting issues. If the problem persists after correcting the JSON format, it might indicate a more complex issue. In that case, you may need to request human assistance for a more in-depth investigation.
So this is in the prompt itself. I don't know what's happening on the backend when clay sends to openai... ----------------------------
To resolve the "Cannot convert undefined or null to object" error when using an AI agent to search LinkedIn through Clay, we need more information about your specific setup. Could you please copy and paste the exact JSON you're using for the LinkedIn search into the chat? This will help us troubleshoot the issue more effectively. In general, when working with LinkedIn URLs in Clay, you have a few options: 1. Use Clayagent (our internal AI models) to ask specific questions about a LinkedIn profile. 2. Utilize integrations like OpenAI/GPT, People Data Labs, or Snov.io to enrich person data from LinkedIn URLs. Once we see your JSON, we can provide more targeted advice to resolve the error.
Here's the json output: { "type": "object", "properties": { "contacts": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "firstname": { "type": "string" }, "title": { "type": "string" }, "email": { "type": ["string", "null"] }, "linkedin": { "type": ["string", "null"] }, "source": { "type": "string", "enum": ["Website", "LinkedIn", "Google"] }, "reason": { "type": "string" } }, "required": ["name", "firstname", "title", "source", "reason"], "additionalProperties": false } } }, "required": ["contacts"], "additionalProperties": false }
Thank you for providing the JSON output. The error you're encountering isn't directly related to the JSON structure you've shared, as it appears to be a valid schema definition. The "Cannot convert undefined or null to object" error likely occurs during the execution of the LinkedIn search. To troubleshoot this issue: 1. Double-check that you're using the correct JSON format for the actual LinkedIn search query, which should look like: { "url": "/LinkedInurl" }. 2. Ensure that the LinkedIn URL you're using is valid and accessible. 3. If the problem persists, it may be a backend issue with how Clay processes the search request. For further assistance, could you please provide: 1. The exact JSON you're using for the LinkedIn search (not the schema). 2. Any error messages you see in the Clay interface. This will help us identify the root cause of the error more accurately.
Again, I don't control the JSON that Clay sends to openai, so I don't know what that JSON looks like? Is there a place I can see it? All I see is this: Visited website" https://www.linkedin.com/company/marketmentors Error: Cannot convert undefined or null to object
Unfortunately, there isn't a direct way for users to view the JSON that we send to OpenAI for LinkedIn searches. The error you're seeing likely occurs in our backend processing. To troubleshoot this issue, we'd need more information about your specific setup. Could you please provide: 1. The exact LinkedIn URL you're trying to search 2. Any error messages you see in our interface 3. The steps you're taking when you encounter this error This will help us investigate the root cause more effectively. If the issue persists, you may need to request human assistance for a more in-depth investigation.
please send this to a human team member
Hi George, is this in reference to the "Business Contacts" column here? https://app.clay.com/workspaces/387884/workbooks/wb_qpbKzvNK9CV8/tables/t_aV98tMb47AMz/views/gv_UEpf3WpfWGpd For the firm you mentioned, I currently see "Run condition not met" in the cell. I assume the logic has changed there since the time you wrote. Are there other colunns that still have the issue you described? Happy to have a look with you if so.
This thread was picked up by our in-app web widget and will no longer sync to Slack. If you are the original poster, you can continue this conversation by logging into https://app.clay.com and clicking "Support" in the sidebar. If you're not the original poster and require help from support, please post in 02 Support.