This topic was automatically generated from Slack. You can find the original thread here.
Hi everyone. I’m having trouble with a syntax error in the response from a SOQL query to Salesforce’s API. Initially I thought the error came from trying to console.dir() the response, but I’m just making the request, and it tells me, “SyntaxError
Unexpected token : in JSON at position 69” (Screenshot in thread)
Has anyone seen or dealt with that error before? Thanks!
Value onto one of those JSON validators online ir ok your IDE. The message tells You the variable does not conform to JSON spec. Look for the charácter at position 69, there might be an unclosed doble quites, and si on
I used the prebuilt step to do a SOQL query with the same query_string and that works great and has a valid JSON. But I need to be able to conditionally make the query, so need the code-level control.