- Issue created by @aaron gil martinez
- @aaron-gil-martinez opened merge request.
- Status changed to Fixed
over 1 year ago 9:51am 27 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.
The submodule pwbi_client provides methods for the different API calls, the method getGroupExportFile() in /pwbi/modules/pwbi_api/src/Api/PowerBiClient.php allows to download a file locally to a given destination.
For newer versions of Guzzle from D10:
"guzzlehttp/guzzle": "^7.5",
"guzzlehttp/psr7": "^2.4.5"
The library to connect also checks if the file is readable.
Throwing an error: RuntimeException: Cannot read from non-readable stream in GuzzleHttp\Psr7\Stream->getContents()
Change mode for the fopen function in the method.
Thanks!
Fixed
Code
Automatically closed - issue fixed for 2 weeks with no activity.