web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform integration forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

How to get error message from CDS thrown by plugin

Posted on by 8

Hello Folks, Hope everyone is fine and staying home.
I am working on building an Canvasapp to perform such operation in dyhamics 365 CE.
There is plugin registered which preventing the record to not create duplicate.
While patching the record from canvasapp i am getting the error as "The requested operation is invalid" as it throwing this message because the same record exist in dynamics 365.

but the problem is i am not getting the exact error message of that plugin which throwing from dynamics.

I collect the connection with Errors as below :

 
 

error_1.png

and when i hove on button i got the error messgae of my plugin :
Server Response:"Opportunity Units failed : Already selected Unit is associated to the opportunity"

error_2.png

Is There any way to get this Server Response message in canvas app so that I can show it to user while performing such action.

I can replace "The requested operation is invalid "  with other message. but in future if it occurred for another reason then it might create a problem.

Any suggestions on this would be appreciated.


 

 


 

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Power Platform integration

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans