function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VFVF 

issue while using the metadata api

Hello,
 
I have an issue while using the metadata api the issue is -
 
We are using metadata api to get the report information (like criteria, fields selected, etc...). But we are getting error while using the API call 'retrieve'. Error is "java.io.IOException: Non nillable element 'version' is null." We are accessing this API in java. what will be the problem?
 
Please help me out of this issue as its urjent requirement for me. 
 
Thanks and Regards
 


JonPJonP

That error tells you that, in your SOAP request, you need to specify a value for "version" XML element.

 

If that isn't enough info to solve your problem, please post the entire stacktrace.