2021-05-20 13:27:35,458 [12] ERROR IIS APPPOOL\Test Creatio - 7.17 Sales OAuth20 ExecuteApiCall - Unable to register resource. Please check the values of the following system settings: IdentityServerClientId, IdentityServerClientSecret.: Terrasoft.OAuthIntegration.Exception.ApiServerException: Unknown error while calling IdentityServer: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) ---> (Inner Exception #0) System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext()<--- ---> System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) --- End of inner exception stack trace --- at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.AddResource(ApiResourceInfo resource, String[] granteeClientIds) at Terrasoft.Configuration.OAuth20.BaseOAuthApiCaller.ExecuteApiCall(Action apiCall, UserConnection userConnection, EntityBeforeEventArgs e) 2021-05-20 13:47:37,647 [126] ERROR IIS APPPOOL\Test Creatio - 7.17 Sales OAuth20 ExecuteApiCall - Unable to register resource. Please check the values of the following system settings: IdentityServerClientId, IdentityServerClientSecret.: Terrasoft.OAuthIntegration.Exception.ApiServerException: Unknown error while calling IdentityServer: System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) ---> (Inner Exception #0) System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext()<--- ---> System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: [BadRequest] invalid_scope at Terrasoft.Services.IdentityClient.d__19.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) --- End of inner exception stack trace --- at Terrasoft.OAuthIntegration.IdentityServiceWrapper.SendRequest[TResponse](Func`1 sendRequestMethod) at Terrasoft.OAuthIntegration.IdentityServiceWrapper.AddResource(ApiResourceInfo resource, String[] granteeClientIds) at Terrasoft.Configuration.OAuth20.BaseOAuthApiCaller.ExecuteApiCall(Action apiCall, UserConnection userConnection, EntityBeforeEventArgs e)