Bij het verbinden met een Custom MCP Connector vanuit Claude met Invantive MCP Server 26.0.121 werkt het verbinden prima: er verschijnt een venster van login.invantive.com en de authenticatie kan doorlopen worden.
Bij MCP Server-versie 26.0.123 echter verschijnt er geen venster van login.invantive.com, maar treedt een foutmelding op in JSON-formaat. De details zijn:
itgenmcp083
itgenach068: Authentication error.
at Invantive.Basics.ValidationException..ctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable`1 uid, Nullable`1 isRecoverable, String poolIdentityId, String url, Nullable`1 partyUid, String partitionCode, String tableName, String parameter1, String parameter2, String parameter3, String parameter4, String parameter5, String clientId) at Invantive.Mcp.Server.Logic.ApiHelper.HandleUnsuccessfulResponse(GlobalState owner, ExecutionOptions executionOptions, ITranslator translator, HttpStatusCode httpStatusCode, String reasonPhrase, String content, String requestUrl) at Invantive.Mcp.Server.Logic.ApiHelper.HandleUnsuccessfulResponse(GlobalState owner, ExecutionOptions executionOptions, ITranslator translator, HttpResponseMessage responseMessage) at Invantive.Mcp.Server.Logic.ApiHelper.HandleUnsuccessfulResponse(GlobalState owner, ExecutionOptions executionOptions, ITranslator translator, HttpResponseMessage responseMessage) at Invantive.Mcp.Server.Logic.ApiHelper.ExecuteHttpRequest[TResult](GlobalState owner, ExecutionOptions executionOptions, McpConfig config, HttpContext httpContext, Boolean canRetry, String url, Boolean allowAnonymous, Func`2 initializeHandler, Func`3 requestHandler, Func`2 responseHandler, ITranslator translator) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at Invantive.Mcp.Server.Logic.ApiHelper.<>c__DisplayClass17_0`1.<<Get>b__1>d.MoveNext() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken cancellationToken)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecuteFromThreadPool(Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
at Invantive.Mcp.Server.Logic.ApiHelper.ExecuteHttpRequest[TResult](GlobalState owner, ExecutionOptions executionOptions, McpConfig config, HttpContext httpContext, Boolean canRetry, String url, Boolean allowAnonymous, Func`2 initializeHandler, Func`3 requestHandler, Func`2 responseHandler, ITranslator translator) in c:\\smoke\\ws-26.0\\Invantive.MCP.Server\\src\\Invantive.Mcp.Server\\Logic\\ApiHelper.cs:line 1634
at Invantive.Mcp.Server.Logic.ApiHelper.Get[T](GlobalState owner, ExecutionOptions executionOptions, McpConfig config, String url, HttpContext httpContext, CancellationToken cancellationToken, Boolean allowAnonymous, ITranslator translator)
at Invantive.Mcp.Server.Logic.ApiHelper.GetProfile(GlobalState owner, ExecutionOptions executionOptions, McpConfig config, HttpContext httpContext, CancellationToken cancellationToken) in c:\\smoke\\ws-26.0\\Invantive.MCP.Server\\src\\Invantive.Mcp.Server\\Logic\\ApiHelper.cs:line 55
at Invantive.Mcp.Server.Logic.UserUtility.GetCachedUser(GlobalState owner, ExecutionOptions executionOptions, HttpContext httpContext, CancellationToken cancellationToken) in c:\\smoke\\ws-26.0\\Invantive.MCP.Server\\src\\Invantive.Mcp.Server\\Logic\\UserUtility.cs:line 77
at Invantive.Mcp.Server.Startup.MonitoringSetUserAfterAuthentication(HttpContext ctx, Func`1 next) in c:\\smoke\\ws-26.0\\Invantive.MCP.Server\\src\\Invantive.Mcp.Server\\Startup.cs:line 1791
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Invantive.Mcp.Server.Startup.LogResponseStatusCodes(HttpContext ctx, RequestDelegate next) in c:\\smoke\\ws-26.0\\Invantive.MCP.Server\\src\\Invantive.Mcp.Server\\Startup.cs:line 1579
at Invantive.Web.Core.InvantiveExceptionLoggerMiddleware.Invoke(HttpContext httpContext, IDataContextService dataContextService)
De aanroep gebeurt door python-httpx/0.28.1; dit is mogelijk onderdeel van Claude AI.