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
The initial difficult thing had to figure out was that the settings.py was setting BASE_URL to wrong value for our environment. Once I figured this out and overwrote the BASE_URL value in the file, the library worked for me. Would be nice to have parameter when creating the PowerBI client to override the BASE_URL instead.
Thanks.
The text was updated successfully, but these errors were encountered:
Glad it’s helping. As a work around you can modify BASE_URL of the client after you’ve initialized it. Something like pbi.BASE_URL = “new_url”
Wasn’t aware that it’s possible to have a different URL but this seems like a reasonable thing to have. Will implement. Am taking a break from this project for a couple weeks and can take a look then.
Thank you for the work around to modify BASE_URL. That is much cleaner and easier than what I was doing to overwrite settings.py. UPDATE - This initially appeared to work but did not on some subsequent calls like when requesting datasources on a dataset, it reverted back to original BASE URL.
But yes, there are different URLs depending on customer type. Thanks again.
Thank you for your library. It is proving useful.
The initial difficult thing had to figure out was that the settings.py was setting BASE_URL to wrong value for our environment. Once I figured this out and overwrote the BASE_URL value in the file, the library worked for me. Would be nice to have parameter when creating the PowerBI client to override the BASE_URL instead.
Thanks.
The text was updated successfully, but these errors were encountered: