Copied to clipboard

Flag this post as spam?

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


  • Paul Griffiths 370 posts 1021 karma points
    Jan 31, 2020 @ 12:54
    Paul Griffiths
    0

    V8 Models Builder API error

    Hi,

    I've just set up a new Umbraco project version="8.5.3". I have two projects .core and .web.

    I am trying to set up the models builder API but keep getting

    enter image description here

    I've installed the new models builder extension as detailed here https://www.zpqrtbnk.net/posts/models-builder-extension/ and I've made sure that my site URL, username and password are all correct in the models builder tools/options.

    I have installed the following nuget packages in both core and web

      <package id="Umbraco.ModelsBuilder" version="8.1.0" targetFramework="net472" />
      <package id="Umbraco.ModelsBuilder.Api" version="8.1.0" targetFramework="net472" />
      <package id="Umbraco.ModelsBuilder.Ui" version="8.1.0" targetFramework="net472" />
    

    In my web.config i have the following

    Output is as follows:

    UmbracoModelsBuilder:    at Umbraco.ModelsBuilder.Api.ApiClient.EnsureSuccess(HttpResponseMessage result)
       at Umbraco.ModelsBuilder.Api.ApiClient.ValidateClientVersion()
       at ZpqrtBnk.ModelsBuilder.Extension.Generator.TryGenerate(ProjectItem sourceItem)
       at ZpqrtBnk.ModelsBuilder.Extension.Generator.Generate(AsyncPackage package, ProjectItem sourceItem)
    

    Can anyone suggest what I am missing please?

  • Paul Griffiths 370 posts 1021 karma points
    Jan 31, 2020 @ 13:19
    Paul Griffiths
    100

    Hi,

    I have just been able to generate them!

    My debug attribute was set to false updating it to true works

    <compilation defaultLanguage="c#" debug="true"
    

    Paul

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies