Idea Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
0

ModelOperationFailedDueToInvalidCapacityException for pbix file upload through post import
Submitted by
Anonymous
on
05-24-2023
12:06 AM
Hi Team,
We have suddenly started getting this ModelOperationFailedDueToInvalidCapacityException error, for last couple of days.
I couldnt find anything specific for this error code in documentation.
Below is the request we are making:-
URL:-
'https://api.powerbi.com/v1.0/myorg/groups/<group_id>/imports?datasetDisplayName=SST1I_visualizations_71161cd5-2066-469c-91af-03195db29577.pbix'
Headers:-
{'User-Agent': 'python-requests/2.22.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Bearer Some Valid Token', 'Content-Type': 'multipart/form-data', 'Content-Length': '590892'}
file:- bytecode of pbix file
Request:-
response = requests.post(
endpoint, headers=self._headers, files={'file': file}
)
Response:-
'{"error":{"code":"ModelOperationFailedDueToInvalidCapacityException","pbi.error":{"code":"ModelOperationFailedDueToInvalidCapacityException","parameters":{},"details":[],"exceptionCulprit":1}}}'
See more ideas labeled with:
Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Latest Comments
- stipa on: Error "[403.12–403.30] The name 'Lakehouse.Content...
- MaAl on: "The import PowerPlatform.Dataflows matches no exp...
-
NikNithiy
on: URGENT!! Paginated Report not loading on Mozilla F...
- duarte on: Unable to sort months in PowerBI
- zsombor on: Matrix Visual doesn't work with Field Parameters ...
-
mattlee on: “Add Value” in Textbox Not Visible in Dark Theme
- mattin on: Report Server Permissions Jan/May 2025
-
bhalicki
on: Bi Crashes on launch with (AS Process PID=XXXXXX H...
- stanteitelbaum on: authenticator wont trigger after purchase of new p...
-
Stinkys
on: Fix the Date function in DAX
Idea Statuses
- New 8,047
- Needs Info 3,502
- Investigating 3,602
- Accepted 2,088
- Declined 38
- Delivered 3,970
-
Reports
10,246 -
Data Modeling
4,135 -
Dashboards
4,116 -
Report Server
2,116 -
Gateways
2,116 -
APIS and Embedding
1,965 -
Custom Visuals
1,790 -
Content Packs
525 -
Mobile
354 -
Need Help
11 -
Show and Tell
3 -
General Comment
2 -
Tips and Tricks
1 -
Power BI Desktop
1