VMware {code} Community
jrwise
Enthusiast
Enthusiast

GetProviderVdcByReference() method error

I am using the vCloud Director .NET API. I am using the latest version that was released back in September of last year. The client connection object version I am using is 9_0. The method that I am calling is:  ProviderVdc.GetProviderVdcByReference() The error that I am receiving back from the API is:

Add Vdc

Value cannot be null.

Parameter name: key

I have also tried using this method, with the same result:   ProviderVdc.GetProviderVdcById

I also ran the sample VdcCRUD example from the API zip file with the same results. I am not getting errors through the vCloud UI or through the PowerCLI. Before upgrading to vCDSP version 8.0.1, I have never had this issue. I have also made no code changes to my application.

I have been using this method call with no problems for three years. It seems like this is a bug to me. Perhaps the API DLLs may need to be updated?

Anyone else having this issue?

Reply
0 Kudos
2 Replies
admin
Immortal
Immortal

Any luck on this coz I am facing same error?

Thanks.

Reply
0 Kudos
jrwise
Enthusiast
Enthusiast

Glad to know someone else is having this issue.

Sorry to say I have not found a fix. I opened a support ticket and was told that I would need to purchase a special dev contract in order to get support on this issue. Which is a same since this call was working fine before the upgrade.

I am trying to go through with my account team for escalation. Sadly, they haven't been a help to this point. I would recommend reaching out to your account team to see if they can raise this issue internally.

Please post back if you find a fix.

Reply
0 Kudos