Copied to clipboard

Flag this post as spam?

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


  • bh 291 posts 976 karma points
    Jan 08, 2020 @ 16:31
    bh
    0

    ModelsBuilder API Error - UmbracoModelsBuilder failed to generate code

    Here's the error message I get when I right-click Models1.mb and choose Build Models.

    UmbracoModelsBuilder: Starting v8.1.5 1/8/2020 11:22:44 AM. UmbracoModelsBuilder: UmbracoModelsBuilder failed to generate code: Exception: Response status code does not indicate success (Unauthorized)

    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)

  • bh 291 posts 976 karma points
    Jan 08, 2020 @ 17:39
    bh
    102

    this error came from invalid credentials in my tools > options > Umbraco configuration in Visual Studio.

  • 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