Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 3

ESM API 10.0.0: qryGetResults()

When executing the following, as specified in the rsm help page:


Example JSON Content:

{"resultID": {"value": 1234567890}}

I get the following returned:

Status Code 500: Error processing request, see server logs for more details (For input string: "{"value":")

I took a look at the catalina logs and it seems to be an internal error:

27-Jun-2017 14:40:45.723 INFO [ajp-nio-] Call to: /esm/qryGetResults

27-Jun-2017 14:40:46.728 SEVERE [ajp-nio-] Internal exception occurred

java.lang.NumberFormatException: For input string: "{"value":"

    at java.lang.NumberFormatException.forInputString(

    at java.lang.Integer.parseInt(

    at java.math.BigInteger.<init>(

    at java.math.BigInteger.<init>(


    at sun.reflect.GeneratedConstructorAccessor248.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(

    at java.lang.reflect.Constructor.newInstance(






Any idea why this is and if there is a solution?

Also is there a central store of examples that work for the current api version, because the ones in the rs/esm/help seem pretty inconsistent.



2 Replies
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: ESM API 10.0.0: qryGetResults()

Moved from Support Forums to Business --> Security Information and Event Management (SIEM) for attention

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 3

Re: ESM API 10.0.0: qryGetResults()

you need do  query 


then  qryGetResults()

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community