• I’ve added the required credentials to the PowerBi settings Client ID, Secret, … and everything is all setup and connected
    then I’ve created a page and added the report ID, group ID

    I get the following message

    Failed to execute ‘setRequestHeader’ on ‘XMLHttpRequest’: ‘Bearer <br />
    <b>Deprecated</b>: Non-static method Power_Bi_Oauth::get_token() should not be called statically

    is not a valid HTTP header field value.

    then it turns to this content is not available

    • This topic was modified 4 years, 9 months ago by amb94.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author atlaspolicy

    (@atlaspolicy)

    Are you still receiving this error? Apologies but I’m not familiar with it.

    Thread Starter amb94

    (@amb94)

    Unfortunately yes

    Dear support,
    I’m front of the same problem.
    My report do not have any groups, just the “/groups/me”.
    On the debugger, it said :
    from index.php?rest_route=/wp/v2/powerbi/getToken

    <br />
    <b>Deprecated</b>: Non-static method Power_Bi_Oauth::get_token() should not be called statically in <b>/var/www/clients/client1/web8/web/wp-content/plugins/embed-power-bi/includes/class-power-bi.php</b> on line <b>92</b><br />

    Do you have any ideas how to resolve it ?
    Thanks a lot,
    BR,
    Guillaume.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Power_Bi_Oauth’ is closed to new replies.