Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Http failure response for Event Portal w/ custom domain

(0) ShareShare
ReportReport
Posted on by

Have a Production instance of Marketing with an Event Portal running on a custom, authenticated domain w/ SSL (as required). Earlier, I was able to view my Event pages using the microsoftcrmportals.com URL or the same URL with my custom domain. No idea what I did, but now I get the error message below with my custom domain even though I'm using the Event URL that Marketing is creating for me. I thought, initially, it might have been because I edited the Readable Event ID to be something more readable, but I created a brand new event and kept the more cryptic Readable event ID with the same result. I have also tried just restarting the portal with no luck. The portal is working since I can see the event with the Microsoft domain, so it's something about resolving the custom domain. Help?!

Http failure response for dinnerby.microsoftcrmportals.com/.../ 0 Unknown Error

  • Ami Arad Profile Picture
    on at
    RE: Http failure response for Event Portal w/ custom domain

    Adding the Allow-Headers site setting worked, and allowed me to keep my custom registration fields. Thanks again -- you've been a lifesaver.

  • Verified answer
    cloflyMao Profile Picture
    25,208 on at
    RE: Http failure response for Event Portal w/ custom domain

    Hi Ami,

    Sorry for that I havn't formal portal to test full process because I only have trial version marketing application.

    From my test on your registration function, the reason for such issue is:

    By non-techical explanation: there is an extra item has been added in our submit information, which is not set to be allowed from server side.(as previous situation)

    By techincal explanation: there is an extra and strange header: validation has been added in request body.(it could be regarded as submit information from registration form)

    I don't know why it happened, and we could only find all available site configurations from the link in my last repesonse.

    So you could try methods below to check whether they could work.(not sure because I havn't formal environment)

    1. Remove custom fields for test.

    2. Sign in to test.(I tested as an anonymous user)

    3. Add a new site setting:

    Name: HTTP/Access-Control-Allow-Headers

    Website: Event Portal

    Value: validation

    Due to limited data on current documentation, 

    I suggest open a support ticket for help on this topic, 

    you could do it by yourself: 

    https://admin.dynamics.com/?referer=mbssupport

    or I open one for you, but you might wait for several days for response.

    Regards,

    Clofly

  • Ami Arad Profile Picture
    on at
    RE: Http failure response for Event Portal w/ custom domain

    I spoke too soon. Now I'm getting the same error on the submission of registration. Event page loads properly. Registration page loads properly (including custom reg fields). Submission results in the error below. I'm guessing I need to add another entry to the Site Settings? 

    event_2D00_reg_2D00_error.JPG

    Here is what my Site Settings look like after the last update: 

    portal_2D00_site_2D00_settings.JPG

  • Ami Arad Profile Picture
    on at
    RE: Http failure response for Event Portal w/ custom domain

    Thank you! Thank you! Thank you! Problem solved.

  • Verified answer
    cloflyMao Profile Picture
    25,208 on at
    RE: Http failure response for Event Portal w/ custom domain

    Hi Ami,

    I opened your custom domain 'https://www.dinnerbydynamics.com/home' and found the reason by checking console log:

    pastedimage1578295738846v1.png

    Request in custom domain for published events in original portal(dinnerby.microsoftcrmportals.com) has been blocked by original portal. 

    Please follow this configuration(allow origin portal sharing data) to test whether it could solve your problem.

    https://docs.microsoft.com/en-us/dynamics365/marketing/developer/portal-hosted#configuring-cross-origin-resource-sharing-cors

    Regards,

    Clofly

  • Ami Arad Profile Picture
    on at
    RE: Http failure response for Event Portal w/ custom domain

    Yes, I can get to the events using the subdomain. I have a custom domain – www.dinnerbydynamics.com – which I am trying to use with no luck. The portal is loading since I’m not getting a 404, but instead, getting the error below which seems to mean something specific to my events.

    marketing_2D00_portal_2D00_error.jpg

    Also, I have created a Marketing Page that I can get to using my custom top level domain here (www.dinnerbydynamics.com/.../), so the portal is working. It’s just not able to find my events using my custom domain. It’s authenticated. I have the SSL certificate. It’s all been setup using the GUI in Marketing to bind everything.

    Thanks for the response. Hopefully this helps us get closer to a solution.

  • cloflyMao Profile Picture
    25,208 on at
    RE: Http failure response for Event Portal w/ custom domain

    Hi Ami,

    1. As per my understanding, does your custom domain means below?(actually subdomain)

    xxx.microsoftcrmportals.com,

    dinnerby is the custom domain in your situation.

    2. Could you share how your error message looks like?

    pastedimage1578288886145v1.png

    Is it a blank page with error message?

    3. What does the automatically created event URL look like? Would it be similar to the link you posted?  

    4. I clicked the link you posted, and it shows below:

    https://dinnerby.microsoftcrmportals.com/api/events/event/?readableEventId=Dinner_by_Dynamics1263062463&ts=1578112946654:

    Is dinner_by_dynamics_sf  the event ID?

    pastedimage1578290063124v1.png

    5. I can open your event portal home page by enter your portal root domain:

    https://dinnerby.microsoftcrmportals.com/

    and also for a specific event by URL below:

    https://dinnerby.microsoftcrmportals.com/event/sessions?id=dinner_by_dynamics_sf

    In conclusion,

    1. It seems that URL pattern for an event had been changed, please try URL pattern above with other event ID for test.

    2. If you could get success from 1, then open your marketing application in admin center and check whether there is update for your current application.

    3. Also if you could get success from 1, please change your portal URL to prevent information leak.

    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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans