Umbraco.AI Unable to create a Connection

When I try to create a connection after installing Umbraco.AI and giving the Administrator User Group access to the AI section, I get a message saying “no providers available”. However, I confirm that I have Umbraco.AI.OpenAI and Umbraco.AI.Anthropic installed.

In the console I’m seeing errors that may be related:

[10:38:11 INF] The response was successfully returned as a challenge response: {
“error”: “insufficient_access”,
“error_description”: “The user represented by the token is not allowed to perform the requested action.”,
“error_uri”: “``https://documentation.openiddict.com/errors/ID2095”
}.

Is there anything I need to do from a permissions perspective to create a connection in the Back-Office? Is there appsettings.json configurations I need to apply?

I think once you assign user group permission, you may need to log out and log back in again. Unfortunately changing permissions doesn’t automatically apply to the logged in users claims.

That seemed to help, thanks! Or it could have been the rebuilds and cleaning solution and restarting a few times. Unsure.

1 Like

In the next release we auto assign the ai section to the admin role so hopefully that’ll be less of an issue in future

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.