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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
ricardolo
New Member

Error importing custom visual to Power BI Service

Hi!

 

I have developed a custom visual and when I use Power BI Desktop to import the custom visual it works, when I upload the report file (with the custom visual embedded) to Power BI Service it all works ok also.

However, when I use the Power BI Service to import the custom visual to a report from a file it occurs an import error "An error occurred while attempting to import visual in this report."

I see two errors in the browser dev tools (Edge or Chrome) 

SEC7120 [CORS] error in 'https://wabi-brazil-south-redirect.analysis.windows.net/powerbi/content/visual'.

HTTP413 PAYLOAD TOO LARGE

The pbiviz file has a size of about 2.9MB. Is that too much?

 

I don't know how to fix those problems as they appear to be restrictions from the server.

Can you shine some light on this, please?

Thanks.

1 ACCEPTED SOLUTION
ricardolo
New Member

I have simply reduced the package size to about 1.6MB with JS minimization and the problem is now solved!

 

View solution in original post

1 REPLY 1
ricardolo
New Member

I have simply reduced the package size to about 1.6MB with JS minimization and the problem is now solved!

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.