This might save someone's day,
The error in our case was that the permissions for SSRS (SQL Server Reporting Service) were not enough, and I changed my Application Pool for IIS it was configured to ApplicationPoolIdentity. I changed my Application Pool to LocalSystem and it fixed it.
Also adding low-level try-catch helped me to identify the real error, as this error usually is not accurate and there's an underlying error