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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Errors creating marketing pages

(0) ShareShare
ReportReport
Posted on by 95

Hello,

We are new dynamics marketing users and we are experiencing a problem with Marketing pages. Whenever we want to safe a page we get the follwing error :

"Exception 'WebException' occured: The remote server returned an error: (502) Bad Gateway., CorrelationId: 58a5361a-0093-4ecf-80f0-30451c11df3e"

We have already tried this with other users, other computers, other networks, other internetconnections, other OS, other browsers, sandbox and production environments....Always same error...

This means we can't create marketing pages at all..

Can anyone help with this problem ?

Thanks,

Peter

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi Peter,

    It is server-side problem.

    Try to restart portal to see whether it could work.

    You could take article below as reference:

    https://community.dynamics.com/365/b/colinvermandermicrosoft/posts/powerapps-portal-force-restart

    Regards,

    Clofly

  • TWS - PVB Profile Picture
    95 on at

    Hi Clofly,

    We don't use the dynamics portal. We use our one website.

    Regards,

    Peter

  • cloflyMao Profile Picture
    25,210 on at

    Hi Peter,

    Do you mean your marketing page is hosted on your own web server with custom domain?

    Could you share a screenshot of error page?

    Regards,

    Clofly

  • TWS - PVB Profile Picture
    95 on at

    Hi Clofly,

    That's the idea, but since we're newbees, maybe we did something wrong with configuration….

    This is the screenshot :

    pastedimage1587633526113v2.png

    Regards,

    Peter

  • cloflyMao Profile Picture
    25,210 on at

    Hi Peter,

    Thanks for sharing.

    However, from your screenshot, it looks more like you're adding a marketing form to a marketing page, so actually you would still host marketing form on portal.

    Is my configuration screenshot below same to yours?

    pastedimage1587634589073v1.png

    If yes, you encountered an error when embedding a marketing form with marketing page designer tool.

    Please do following steps to do troubleshooting:

    1. Create a form page record for you marketing form:(in Marketing form > Form hosting tab)

    pastedimage1587634923934v2.png

    2. Copy and paste the generated script to marketing form HTML source code directly:

    pastedimage1587635000231v3.png

    You could append script to end position of body tag

    pastedimage1587635134530v5.png

    Check whether marketing page could go live by pasting the script to marketing form directly.

    Regards,

    Clofly

  • cloflyMao Profile Picture
    25,210 on at

    Hi Peter,

    Can you go live marketing page and see marketing form by pasting form script directly?

    Regards,

    Clofly

  • Suggested answer
    Defne Ayanoglu Profile Picture
    Microsoft Employee on at

    Hi Peter,

    It seems that you would need to set up a Portal to host your Marketing page created by Dynamics 365 Marketing, even if you own your own domain.
    This will have a "base URL" that you will be setting yourself. 

    https://docs.microsoft.com/en-us/powerapps/maker/portals/create-dynamics-portal

    You will need to set up one Portal for each content you are willing to host on each domain or subdomain. 

    Here is the documentation: https://docs.microsoft.com/en-us/powerapps/maker/portals/create-manage-webpages

    Best regards, 
    Defne

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans