REST API knowledge exchange
Post Reply
Marijn
Influencer
Posts: 17
Liked: 3 times
Joined: Jun 22, 2021 9:08 am
Full Name: Marijn Lebbink
Contact:

/api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by Marijn »

Just noticed that the api call:

Code: Select all

/api/v1/backupInfrastructure/scaleOutRepositories
fails when a SOBR has a repository that is in maintenance or sealed mode. We are in a situation where this is applicable and suddenly the APi calls fail with server error 500.

Would be nice if this could be fixed in a future version.

Kind regards,
Marijn
oleg.feoktistov
Veeam Software
Posts: 2021
Liked: 673 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: /api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by oleg.feoktistov »

Hi Marijn,

Which VBR build you've found this in? What do "errorCode" and "message" properties say in the response?

Best regards,
Oleg
afokkema
Service Provider
Posts: 23
Liked: 3 times
Joined: Feb 13, 2009 2:00 pm
Full Name: Arne Fokkema
Location: Netherlands
Contact:

Re: /api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by afokkema »

I am also encountering this issue when using the above mentioned API call. I see the following error coming back from the script that invokes the call:

'ServiceUnavailable' with message Enum value Maintenance, Sealed is not present in REST API mapping of ERepositoryExtentStatusType to EStatus

We are running the latest build of v12.2.

Kind Regards,
Arne
oleg.feoktistov
Veeam Software
Posts: 2021
Liked: 673 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: /api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by oleg.feoktistov » 1 person likes this post

Hi Arne,

This is a confirmed bug. The fix is scheduled for the next major product version.

Best regards,
OIeg
t7MevELx0
Service Provider
Posts: 59
Liked: 8 times
Joined: Feb 06, 2024 6:55 pm
Contact:

Re: /api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by t7MevELx0 »

Is this the same bug?

Since the last upgrade to VSPC 8.1 from 8.0.x, this endpoint /api/v3/licensing/usage/organizations?limit=500&offset=0 is failing permanently with this error:

"errors": [
{
"message": "Value cannot be null.\r\nParameter name: key",
"type": "unspecified",
"code": 500
}
]

I have an open Veeam case:
Case #07445354
oleg.feoktistov
Veeam Software
Posts: 2021
Liked: 673 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: /api/v1/backupInfrastructure/scaleOutRepositories - error 500 when repo in maintanence/sealed

Post by oleg.feoktistov »

I'd say they are not related. The issue you described concerns VSPC REST licensing endpoint, so I'd advise to ask on Service providers' subforum for VSPC. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests