Copied to clipboard

Flag this post as spam?

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

  • Shaishav Karnani from 345 posts 1621 karma points
    Aug 22, 2019 @ 16:09
    Shaishav Karnani from

    Model Builder API Fails 404


    I have installed v8.1.3 and Umbraco ModelBuilder API from nuget

    When I try generating ModelBuilder then getting 404 error on below link.

    Any idea what could be the issue please?

  • Shaishav Karnani from 345 posts 1621 karma points
    Aug 22, 2019 @ 17:29
    Shaishav Karnani from

    After bit of struggle, I decided to remove Model Builder API and Model Builder Custom Tool.

    Changed my web.config to below settings. We generate our ModelBuilder in a separate project with all other Models with a specific Namespace. I achieved all of them with below settings.

        <add key="Umbraco.ModelsBuilder.Enable" value="true" />
        <add key="Umbraco.ModelsBuilder.ModelsMode" value="AppData" />
        <add key="Umbraco.ModelsBuilder.ModelsDirectory" value="~/../Training.Web.Umbraco.Models/UmbracoModels/" />
        <add key="Umbraco.ModelsBuilder.AcceptUnsafeModelsDirectory" value="true" />
        <add key="Umbraco.ModelsBuilder.ModelsNamespace" value="Training.Web.Umbraco.Models.UmbracoModels" />

    Now, I think this is probably better approach as I did faced few issues with new releases of Model Builder API and Model Builder Custom Tool as it was not always 100% sync.

  • Nik 1217 posts 5080 karma points MVP 2x c-trib
    Aug 22, 2019 @ 18:21

    Hi Shaishav,

    Something to be aware of, the Models Builder Custom Tool extension has been deprecated in favour of Umbraco ModelsBuilder Extension. This could be why you are having issues with the API mode, just food for thought.

    For reference:


Please Sign in or register to post replies

Write your reply to: