Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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'}
Request:-
response = requests.post(
endpoint, headers=self._headers, files={'file': file}
)
Response:-
'{"error":{"code":"ModelOperationFailedDueToInvalidCapacityException","pbi.error":{"code":"ModelOperationFailedDueToInvalidCapacityException","parameters":{},"details":[],"exceptionCulprit":1}}}'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.