Does Clay require a different kind of
# ✨ai-and-mcp
s
Does Clay require a different kind of input for Apify actors? Im testing for a client and Copy/pasting the JSON input returns an error: The integration failed to run { "error": { "type": "invalid-input", "message": "Cannot parse input JSON body: Expected property name or '}' in JSON at position 2 (line 2 column 1)" } } Image
t
@Strijdhagen
Nope it doesn’t require diff input type for clay
Is the screenshot complete or is it missing?
a
@Strijdhagen just advanced to level 7! Thanks for your contributions! 🎉
t
Yeah got it. If the screenshot is complete the last closing bracket is missing
s
ah no there comes a bunch of stuff after, it's a copy of the input straight from apify
t
Probably you are missing some field. Is this same input runs perfectly in apify?
s
huh the default input works, weird
t
Classic clay formatting issue
Try jsonlinit.com and paste the input
Or if it doesn’t work first try writing {} with your own hand and just paste this
"aiHasSalary": false, "aiVisaSponsorshipFilter": false, "directApply": false, "excludeATSDuplicate": false, "externalApplyUrl": false, "includeAi": true, "limit": 25, "locationSearch": ["united states"], "populateAiRemoteLocation": false, "populateAiRemoteLocationDerived": false, "populateExternalApplyURL": false, "remote": false, "removeAgency": true, "timeRange": "7d", "titleSearch": ["ediscovery"]
However even if this doesn’t work try writing with your own
s
will try thanks!
2 Views