Title: Embed Error : GetToken
Last modified: July 1, 2021

---

# Embed Error : GetToken

 *  [deimz](https://wordpress.org/support/users/deimz/)
 * (@deimz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/embed-error-gettoken/)
 * Hi,
 * I am trying to embed a powerbi report to a wordpress website using your plugin.
   I have a powerbi pro account, I created an app on my Azure Portal, I gave permission
   for powerbi ( read / write for all reports, datasets..etc and Create_content ),
   I gave admin consent to those permissions, I connected my account to the plugin
   using my master account and my app ID and secret but when I try to embed the 
   report, I still having an error in the javascript console :
 * GET [https://mywebsite.com/wp-json/wp/v2/powerbi/getToken](https://mywebsite.com/wp-json/wp/v2/powerbi/getToken)
   500 Internal Error
 * Is there something else to configure for the getToken request to succes ?
 * Thanks a lot,
 * Mickaël

The topic ‘Embed Error : GetToken’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/embed-power-bi_b2d8bc.svg)
 * [Power BI Embedded for WordPress](https://wordpress.org/plugins/embed-power-bi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embed-power-bi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embed-power-bi/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-power-bi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-power-bi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-power-bi/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [deimz](https://wordpress.org/support/users/deimz/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/embed-error-gettoken/)
 * Status: not resolved