Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when trying to "Review Observables" #101

Open
blipsen opened this issue Jan 10, 2024 · 0 comments
Open

Issue when trying to "Review Observables" #101

blipsen opened this issue Jan 10, 2024 · 0 comments

Comments

@blipsen
Copy link

blipsen commented Jan 10, 2024

DocIntel gave the following error when I clicked on "Review Observables" for a particular report.
Issues with Review Observables

### Raw log
DocIntel.Core.Exceptions.UnauthorizedOperationException: User is not authorized to call method.
at DocIntel.Core.Repositories.EFCore.TagFacetEFRepository.AddAsync(AmbientContext ambientContext, TagFacet tagFacet) in /src/DocIntel.Core/Repositories/EFCore/TagFacetEFRepository.cs:line 58
at DocIntel.Core.Utils.TagUtility.GetOrCreateFacet(AmbientContext ambientContext, String prefix, HashSet1 cache) in /src/DocIntel.Core/Utils/TagUtility.cs:line 144 at DocIntel.Core.Utils.TagUtility.GetOrCreateTag(AmbientContext ambientContext, String label, HashSet1 tagCache, HashSet1 facetCache, List1 regexes)+MoveNext() in /src/DocIntel.Core/Utils/TagUtility.cs:line 95
at DocIntel.Core.Utils.TagUtility.GetOrCreateTag(AmbientContext ambientContext, String label, HashSet1 tagCache, HashSet1 facetCache, List1 regexes)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at System.Linq.AsyncEnumerable.<ToListAsync>g_Core|424_0[TSource](IAsyncEnumerable1 source, CancellationToken cancellationToken) in //Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 42
at System.Linq.AsyncEnumerable.g_Core|424_0[TSource](IAsyncEnumerable1 source, CancellationToken cancellationToken) in //Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 42 at DocIntel.Core.Utils.TagUtility.<>c_DisplayClass3_0.<GetOrCreateTags>b_1(String _) in /src/DocIntel.Core/Utils/TagUtility.cs:line 58 at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.DistinctByIterator[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other) at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer)
at System.Linq.Enumerable.ToHashSet[TSource](IEnumerable1 source, IEqualityComparer1 comparer)
at System.Linq.Enumerable.ToHashSet[TSource](IEnumerable1 source) at DocIntel.WebApp.Controllers.DocumentController.GetTags(String[] tags, AppUser currentUser) in /src/DocIntel.WebApp/Controllers/DocumentController.cs:line 1530 at DocIntel.WebApp.Controllers.DocumentController.SaveDocument(Document document, Document submittedDocument, String sourceId, String[] tagLabels, Guid[] releasableTo, Guid[] eyesOnly, IFormFile file, DocumentStatus status) in /src/DocIntel.WebApp/Controllers/DocumentController.cs:line 1491 at DocIntel.WebApp.Controllers.DocumentController.Create(Guid id, Document submittedDocument, String sourceId, String[] tags, Guid[] releasableTo, Guid[] eyesOnly, IFormFile file) in /src/DocIntel.WebApp/Controllers/DocumentController.cs:line 810 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant