Hi,
I have created 2 plugins. first one will trigger while we create the "Lead" and the second one will trigger in "Enrollment"(custom entity) creation time. I try to call an API within the plugin in both cases. But the plugin is not working and getting some errors.
1) Lead
When I execute this plugin I got an error.
" One or more errors occurred.An error occurred while sending the request.Unable to connect to the remote serverA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.191.119.191:8089"
2) Enrollment
When I execute this plugin getting an error.
"One or more errors occurred.Request for the permission of type 'System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Please advise me to solve these issues.
Thanks.
Gokul K
*This post is locked for comments