ServiceNow Encoded Query validation

I intend to let users specify [encoded query]title=Embedded%3aEncoded_Query_Strings) in ServiceNow SOAP requests.

The problem is that if user specifies invalid query string ServiceNow do not return any exception, but every row or no rows at all.

Is there a way to check validity of encoded query via webservice?

Hello, are you running ServiceNow on a balenaOS device or in a container? Are you looking for assistance with checking query validity using the ServiceNow webservice?