Skip to main content

Notifications

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

  • Suggested answer
    RE: Errors creating marketing pages

    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

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Errors creating marketing pages

    Hi Peter,

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

    Regards,

    Clofly

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Errors creating marketing pages

    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

  • TWS - PVB Profile Picture
    TWS - PVB 95 on at
    RE: Errors creating marketing pages

    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
    cloflyMao 25,202 on at
    RE: Errors creating marketing pages

    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
    TWS - PVB 95 on at
    RE: Errors creating marketing pages

    Hi Clofly,

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

    Regards,

    Peter

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Errors creating marketing pages

    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans