IBM Support

Error when specifying Nothing for a required parameter for SDK calls in VB.NET

Troubleshooting


Problem

The call cmService.add(spSingle, Nothing, ao) results in the following errors: CM-REQ-4342 The client did something wrong cmExpectedElementMissing CM-REQ-4121 The element "objects" is missing in element "add"

Symptom

Soap fault returned as determined from a SOAP trace:
<SOAP-ENV:Fault>
<faultcode>Client</faultcode>
<faultstring>CM-REQ-4342 The client did something wrong.</faultstring>
<detail>
<bus:exception>
<severity>error</severity>
<errorCode>cmExpectedElementMissing</errorCode>
<bus:message>
<messageString>CM-REQ-4121 The element "objects" is missing in element "add".</messageString>
</bus:message>
</bus:exception>
</detail>
</SOAP-ENV:Fault>

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Software Development Kit","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

1029655

Document Information

Modified date:
08 May 2025

UID

swg21341540