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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Http failure during parsing following event website deployment to portal

(0) ShareShare
ReportReport
Posted on by 422

Hi all, 

I successfully installed dynamics 365 Marketing and opted to host the Event Website on a Portal. 

Portal was working fine but I needed to customise the styling so went on the journey to download a sample website and re-deploy using the powershell script. 

Files all updated ok following deployment but portal now broken with following error: 

"http failed during parsing for https://xxxxx.powerappsportals.com/api/events/published/?ts=1630871762357"

7382.Error.PNG

Only issue I see in the browser network log is referring to a favicon icon?

 1106.Error2.PNG

Any ideas? I see someone has had this error previously on this forum, but the issue was resolved offline.

Thanks

Alex

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Http failure during parsing following event website deployment to portal

    Hi,

    You can refer to this post:

    Http failure response for Event Portal w/ custom domain - Dynamics 365 Marketing Forum Community Forum

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

  • AlexJay Profile Picture
    422 on at
    RE: Http failure during parsing following event website deployment to portal

    Thanks Frank, but I am not using a custom domain so shouldn't require CORS to be enabled, and I don't see any error in the console.

    One thing I can't seem to do is test the site locally as I can't find any CSRF setting in the PortalAPI web template, the template is blank which is making me wonder if this is causing the other issue. 

    BypassCSRF.PNG

    Looking at the modifiedon date/time the PortalAPI web template was updated when I ran the PowerShell deployment script but it appears blank, so I can't find any flag to change. 

     update-portal.PNG

    Thanks

  • Suggested answer
    AlexJay Profile Picture
    422 on at
    RE: Http failure during parsing following event website deployment to portal

    Hi all, 

    I have been able to resolve this issue by restoring the portals config back to out of the box using the configuration migration tool, steps here: 

    https://docs.microsoft.com/en-us/dynamics365/marketing/developer/manually-overwriting-sample-website

    Then I have re-deployed my customisation changes using the DeployToDynamics365Instance.ps

    Somehow it appears a previous deployment run via PowerShell had removed the source code in the PortalAPI web template. 

    Reverting to out of the box restored this and then the subsequent PowerShell deployment didn't overwrite this code.  

    PortalsAPI-_2D00_-issue-1.PNG

    PortalsAPI-_2D00_-issue-2.PNG

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans