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.
Hi @ShubhamKapadnis
I am so glad to hear that you have fixed your issue . I will change the status to "Delivered" so that users with the same problem can use your method to deal with their problem .
Best Regards,
Community Support Team _ Ailsa Tao