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
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Error when I try to upload a pbix file
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
He creates the session and publish the folder:
But, when I publish the .pbix file to report server
# upload copy of PBIX to new folder
Write-RsRestCatalogItem -WebSession $session -Path $dashboardtLocalPath -RsFolder /$dashboardFolder -Verbose
Returns a error:
Write-RsRestCatalogItem : System.Exception: Failed to create catalog item: The remote server returned an error: (422) Unprocessable Entity. ---> System.Net.WebException: The remote server
returned an error: (422) Unprocessable Entity.
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
--- End of inner exception stack trace ---
At C:\SILO\deploy_pbix_reports.ps1:15 char:1
+ Write-RsRestCatalogItem -WebSession $session -Path $dashboardtLocalPa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-RsRestCatalogItem
What is the expected behavior?
Publish with success
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
No, but i see a bug with the same error open in 2020 - #304
The text was updated successfully, but these errors were encountered:
I am having this EXACT problem with a fresh install of PBIRS.
I'm using this for Powershell: PSVersion 5.1.14393.6343
I'm using 0.0.8.0 for ReportingServicesTools
For the OS I'm on Windows Server 2016.
For Power BI I'm on January 2023 for both Power BI Desktop and the PBIRS service. On prem, no gateway.
I checked and my experience is as described above. I could really use a fix!!!
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Error when I try to upload a pbix file
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
He creates the session and publish the folder:
But, when I publish the .pbix file to report server
Returns a error:
What is the expected behavior?
Publish with success
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
No, but i see a bug with the same error open in 2020 - #304
The text was updated successfully, but these errors were encountered: