Recently, when I was working in Power Automate flow, got the below error while saving the Power Automate Flow in Dev Environment.
“Request to XRM API failed with server error: ‘Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing. Code:0X80040251 InnerError: ‘- The tracking Id is xxx”.
Checked all the connections, whether is there any disconnections are not. But that is not the problem.
And later found that the owner of the flow is not having any security roles.
Assigned the System Administrator Security role and tried to save the flow, it worked.
Hope this resolution will help you to resolve the problem.