Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert 33 posts 173 karma points
    Mar 02, 2018 @ 10:22
    Robert
    0

    Cannot publish - 500 error umbraco/restServices/BulkPublish/PublishDocument

    When I try to publish any page in umbraco I receive a 500 internal server error, the output of which is visible in my browser console as below:-

    It could be some kind on conflict with my webapi as I notice if I remove it I don't get the publish error but I don't know what exactly could be causing this problem. Any ideas anyone?

    enter image description here

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 02, 2018 @ 11:05
    Alex Skrypnyk
    0

    Hi Robert

    Check please Umbraco log, is there some info? Did you do something with your solution lately?

    Alex

  • Robert 33 posts 173 karma points
    Mar 02, 2018 @ 11:20
    Robert
    0

    This is the error from the log file when I try and publish:

    Like I say I do have a webapi in my cms and if I remove it I don't get this error but not sure where the conflict lies.

    2018-03-02 11:17:55,585 [P4980/D17/T177] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) at System.Net.Http.HttpClient.PostAsync(String requestUri, HttpContent content) at AkUmbraco.Umbraco.Events.EventTriggerService.SendEventsToTopic(EventTopic[] events, String key, String endpoint) at AkUmbraco.Umbraco.Events.EventTriggerService.EnqueueEvents(IEnumerable1 eventEntities) at AkUmbraco.Umbraco.Events.RegisterEventHandler.ContentService_Publishing(IPublishingStrategy sender, PublishEventArgs1 e) at Umbraco.Core.Events.TypedEventHandler2.Invoke(TSender sender, TEventArgs e) at Umbraco.Core.Events.ScopeEventDispatcherBase.DispatchCancelable[TSender,TArgs](TypedEventHandler2 eventHandler, TSender sender, TArgs args, String eventName) at Umbraco.Core.Publishing.PublishingStrategy.Umbraco.Core.Publishing.IPublishingStrategy2.Publish(IScopeUnitOfWork uow, IContent content, Int32 userId) at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents) at umbraco.cms.businesslogic.web.Document.SaveAndPublish(Int32 userId) at Umbraco.Web.WebServices.BulkPublishController.PublishDocument(Int32 documentId, Boolean publishDescendants, Boolean includeU

  • Robert 33 posts 173 karma points
    Mar 02, 2018 @ 12:29
    Robert
    0

    Found the problem was missing a config setting

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 02, 2018 @ 12:38
    Alex Skrypnyk
    0

    Great that topic is solved

Please Sign in or register to post replies

Write your reply to:

Draft