Skip to main content

Hi,

I have a problem with add an organization on veeam Back EM with API.

I certainly enter correct “HostUid” that belong to vcloud, but get below error:

"FirstChanceExceptionMessage": null,
    "StackTrace": null,
    "Message": "Unable to find target vCloud host on VBR v25fc543e-0622-4dce-82ff-ee6296bb397c]",
    "StatusCode": 500,
    "Status": "InternalServerError"

 

Sent body as below:

{
 
 "OrganizationName": "Org-01",
 
 "BackupServerUid": "urn:veeam:BackupServer:25fc543e-0622-4dce-82ff-ee6296bb397c",
 
 "RepositoryUid": "urn:veeam:Repository:a3718da3-2b89-4646-a5d4-df6dada65d8e",
 
 "QuotaGb": 100,
 
 "RepositoryFriendlyName": "Backup Repository 1", 
 
 "JobSchedulerType": "Full",
 
 "HighPriorityJob": false,
 
 "HostUid": "urn:veeam:ManagedServer:425c2582-d46d-4316-9977-a3e5f49ec1f9"
 
}

 

P.S 1 : I can add it in web UI successfully.

P.S 2 : All parameters that sent to veeam, taken from “Get” API

Would you please help me in this regards?

@MicoolPaul 

@Mildur 

😊


Hi @Omid Heravi,

 

We’ll need to see the complete input of a post and the results of a working GET to the same vcloud to have a look at this.


@MicoolPaul  @Madi.Cristil 

Thank you guys,

I had entered wrong hostUID. It’s working now


Comment