Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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.