I am using the json input in live preview to test my webhook
{
“category”: “people”,
“school”: “163107”,
“company”: “6”,
“advanced_keywords”: {
“title”: “Recruiter”,
“company”: “Tesla”,
“school”: “Clemson”
},
“keywords”: “Tech Recruiter”,
“api”: “classic”
}
I get the error below,
Webhook call failed: Object is not expected type com.palantir.logsafe.exceptions.SafeIllegalArgumentException: Object is not expected type: {expectedType=String, actualType=java.util.LinkedHashMap}.
Error Parameters: {}
Error: Webhook call failed: Object is not expected type com.palantir.logsafe.exceptions.SafeIllegalArgumentException: Object is not expected type: {expectedType=String, actualType=java.util.LinkedHashMap}
at LinkedInFunctions.callLinkedInWebhook (/scratch/standalone/7265d3b9-9eee-42ff-8908-f2541e2498ea/code-assist/contents/functions-typescript/dist/Functions.bundle.js:10087:19)
at async LinkedInFunctions.searchLinkedIn (/scratch/standalone/7265d3b9-9eee-42ff-8908-f2541e2498ea/code-assist/contents/functions-typescript/dist/Functions.bundle.js:10091:9)
at async De (FunctionsIsolateRuntimePackage:2:1120861)
at async he.executeFunction (FunctionsIsolateRuntimePackage:2:1121368)
at async userFunction (FunctionsInitialization:10:43)