Sorry an error occurred and we were unable to resolve it

Hi,
I’m using allowed datastore queries in a manual task. WF Version
Intelligent Automation Cloud Enterprise - 10.1.0

Following are allowed datastore query details:

name: updateManualFlag
datastore: PNXT_CASE_DETAILS
query:
UPDATE @this SET manual_queue_flag=:flagVal WHERE case_number=:caseNum RETURNING case_number;

Following is the ajax call:
$.ajax({
dataType: “json”,
type: “GET”,
async: false,
url: “/workfusion/public/v2/datastores/executeNamedQuery?queryName=updateManualFlag&nativeId=“hitId”&parameters=“encodeURIComponent(”{caseNum:’”+caseNumVal"’,flagVal:’“flag”’}"),
success: function (resp) { alert(resp); },
error: function (resp) { alert(JSON.stringify(resp)); }
});

I’m getting following error while calling an update query on workspace:
{“readyState”:4,“responseText”:"{\“message\”:
“Sorry an error occurred and we were unable to resolve it (tracking id: [ce0b8ea7-eaa5-460d-af78-5e7527439da1])\”,\“code\”:\“com.workfusion.api.error.unknown\”,\“trackingId\”:\"ce0b8ea7-eaa5-460d-af78-5e7527439da1
“}”,“status”:500,“statusText”:“error”}

Could you please help me understand what could be the issue here?

Kind regards,
Tanvi