sorting error

Every time I try to sort using TaminoClient.query() I get this error:

<?xml version="1.0"?><ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“http://metalab.unc.edu/xql/” ino:sessionid=“10” ino:sessionkey=“2845”>xql:queryProducto sortby(Precio)</xql:query><ino:message ino:returnvalue=“9239”><ino:messagetext ino:code=“INOXYE9239”>internal error</ino:messagetext></ino:message></ino:response>

How can I avoid this?
Thanks.

[Note]: Doing the same query in Tamino Interactive Interface or in the explorer bar returns no error.

What version of Tamino are you using?
There was a problem with Tamino V2214 when using query with sortby inside a session, but this was fixed in Tamino V2217.
Can you try the query outside a session?

Thanks for the info!

I’ll check it…