Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
N1vSega1
Regular Visitor

Getting 403 when embedding report on metadata requests

Hi, I'm getting multiple 403 responses, when embedding my report.
This doesn't seem to affect the functionality.
What could be the cause of this?

N1vSega1_0-1735567887020.png


This is the config sent to the embed function:

 

 

export const embeddedReportConfig: models.IReportEmbedConfiguration = {
  type: 'report',
  tokenType: models.TokenType.Embed,
  accessToken: 'YourAccessToken',
  datasetBinding: null,
  embedUrl: '',
  id: '',
  permissions: models.Permissions.All,
  viewMode: models.ViewMode.View,
  settings: {
    hideErrors: true,
    filterPaneEnabled: true,
    navContentPaneEnabled: false,
    panes: {
      pageNavigation: {
        visible: false,
      },
      filters: {
        expanded: false, // Hide filters pane
      },
    },
    localeSettings: {
      language: 'en',
      formatLocale: getLocaleForPowerBi(),
    },
  },
};

 

 

 

1 ACCEPTED SOLUTION
v-shamiliv
Community Support
Community Support

Hi @N1vSega1 

Thank you for reaching out to us on the Microsoft Fabric Community Forum.

Based on the error message you provided, please consider the following suggestions to resolve the issue:

  • The access token might be invalid or expired.

Please generate a new access token and update the accessToken field in your configuration accordingly.

  • The permissions associated with the access token may be insufficient.

Verify that the token has the necessary permissions to access the metadata.

  • The embedUrl and id fields may be incorrect or missing.

Ensure these fields are populated with the correct values for the report being embedded.

  • There may be restrictions on the API endpoint being accessed.

Check for any IP restrictions or other security settings that might be blocking access.

  • Certain settings in the configuration might be causing the issue.

Verify that all configuration settings are accurate and do not conflict with one another.

If you need any further assistance or have any questions, please feel free to contact us.

 

If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.

 

Best regards,
Shamili.v

View solution in original post

4 REPLIES 4
v-shamiliv
Community Support
Community Support

Hi @N1vSega1 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you

v-shamiliv
Community Support
Community Support

Hi @N1vSega1 

I wanted to check if you had the opportunity to review the information provided. Please feel free to reach us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-shamiliv
Community Support
Community Support

Hi @N1vSega1 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-shamiliv
Community Support
Community Support

Hi @N1vSega1 

Thank you for reaching out to us on the Microsoft Fabric Community Forum.

Based on the error message you provided, please consider the following suggestions to resolve the issue:

  • The access token might be invalid or expired.

Please generate a new access token and update the accessToken field in your configuration accordingly.

  • The permissions associated with the access token may be insufficient.

Verify that the token has the necessary permissions to access the metadata.

  • The embedUrl and id fields may be incorrect or missing.

Ensure these fields are populated with the correct values for the report being embedded.

  • There may be restrictions on the API endpoint being accessed.

Check for any IP restrictions or other security settings that might be blocking access.

  • Certain settings in the configuration might be causing the issue.

Verify that all configuration settings are accurate and do not conflict with one another.

If you need any further assistance or have any questions, please feel free to contact us.

 

If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community.

 

Best regards,
Shamili.v

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.