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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom Action Can't Create new record

(1) ShareShare
ReportReport
Posted on by 195

Hi so i have button for generate record from another record, so i already add the button from XRM Workbench, after that i create custom action that will be called from my javascript after i click that button. I already create for all that, but the problem is it will always return error when i try to genereate the record. After using plugin profiler my code always stop when i create new record that i generate, it always stop in service.create(myentity) with this exception

System.ServiceModel.FaultException`1: 'Error. 11 .The remote server returned an error: (502) Bad Gateway.'


i don't know what that make this happen, i never ecounter this error before, and i can't found any article or post that help me solve this problem. Can anyone help me here thanks ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Are you behind some network firewall or proxy settings that disturb this flow? If you have some open wifi/network, reproduce this test scenario & let us know the result.

  • Keysersozeey Profile Picture
    195 on at

    thanks i already found the problem , it because some plugin that make webrequest from someone else. And it's already fixed now

Under review

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

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans