You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in our latest module updates (5.0.2) we limit the ID to be a maximum of 100 characters in New-URIString.ps1? This was not in earlier versions of the module and is now breaking the ability to download database backup files.
When you request to download files in the UI or via the API, we submit an AYSNC request to gather those files and zip them up. This process will create a download link. This process has an ID that looks like this "DOWNLOAD_MSSQL_BACKUP_FILES_80377d45-59d7-49b6-9078-2f98b6265e07_da994f8d-cf28-45d0-a10e-4653cc1f04cb:::0" The length of this ID is 106 characters, which causes New-URIString to error out at line 23 with an error "Please validate ID input, invalid ID provided: '$id'" -ErrorAction Stop
Steps to Reproduce:
You must be using version 5.0.2 of the SDK
in our latest module updates (5.0.2) we limit the ID to be a maximum of 100 characters in New-URIString.ps1? This was not in earlier versions of the module and is now breaking the ability to download database backup files.
When you request to download files in the UI or via the API, we submit an AYSNC request to gather those files and zip them up. This process will create a download link. This process has an ID that looks like this "DOWNLOAD_MSSQL_BACKUP_FILES_80377d45-59d7-49b6-9078-2f98b6265e07_da994f8d-cf28-45d0-a10e-4653cc1f04cb:::0" The length of this ID is 106 characters, which causes New-URIString to error out at line 23 with an error "Please validate ID input, invalid ID provided: '$id'" -ErrorAction Stop
Steps to Reproduce:
You must be using version 5.0.2 of the SDK
Connect-Rubrik
$RubrikRequest = Invoke-RubrikRESTCall -Endpoint "mssql/db/$ ($RubrikDatabase.id)/download_files" -Method POST -Body $Body
$RubrikDatabase = Get-RubrikDatabase -Name "Northwind" -ServerInstance "mssql.lumnah.lab\sql2008r2" -DetailedObject
$body = @{
startPoint=@{
date="2020-07-06T00:00:00.000Z"
}
endPoint=@{
date="2020-07-07T00:00:00.000Z"
}
backupType="Log"
}
$RubrikRequest = Get-RubrikRequest -id $RubrikRequest.id -WaitForCompletion -type mssql
The text was updated successfully, but these errors were encountered: