All my API calls are suddenly failing. Anything going on with API 2?. I push invoices in every night. Suddenly not working so I’m not getting Sales Invoices out.
{
"body": "<h1>Internal Error</h1><hr />Manager 26.4.16.3389<hr /><pre>ManagerServer.MapApiExtension+HttpRequestException: Exception of type 'ManagerServer.MapApiExtension+HttpRequestException' was thrown.\n at ManagerServer.MapApiExtension.GetUserContext(HttpRequest httpRequest) in /home/runner/work/Manager/Manager/ManagerServer/MapApiExtension.cs:line 27\n at ManagerServer.HttpHandlers.Api2.Api2.ProcessRequest() in /home/runner/work/Manager/Manager/ManagerServer/HttpHandlers/Api2/Api2.cs:line 53\n at ManagerServer.HttpServer.<>c.<<Build>b__0_9>d.MoveNext() in /home/runner/work/Manager/Manager/ManagerServer/HttpServer.cs:line 233\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)\n at ManagerServer.Authentication.UserResolutionMiddleware.InvokeAsync(HttpContext context) in /home/runner/work/Manager/Manager/ManagerServer/Authentication/UserResolutionMiddleware.cs:line 33\n at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)</pre><p><a href=\"javascript:window.history.back();\">Go back</a>",
"headers": {
"Nel": "{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}",
"Date": "Thu, 16 Apr 2026 14:37:50 GMT",
"CF-Ray": "9ed3ee22de9ed378-FRA",
"Pragma": "no-cache",
"Server": "cloudflare",
"Expires": "-1",
"alt-svc": "h3=\":443\"; ma=86400",
"Report-To": "{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=wRkoUVnMAbKVXxcU7o1VSO8l8SJFBGpMmDzjqpEv9h0WNXlziPcu1kt4WAyyNAf4%2BkWj7vyDPj2f95rPQRyt26rdN7TqZtGDPlNcdpmdQuo6pP41xS1CX9Jo1sNKOUpKrn6GD4ly\"}]}",
"served-by": "cus_RTQ631yhsiPEri",
"Connection": "keep-alive",
"Content-Type": "text/html",
"Cache-Control": "no-cache,no-store",
"CF-Cache-Status": "DYNAMIC",
"Transfer-Encoding": "chunked",
"x-manager-exception": "HttpRequestException"
},
All my API calls are also failing too. This is from a couple of hours. Also I cannot access the API TAB from Settings/Access Tokens. It comes back to the Businesses screen
ManagerServer.MapApiExtension+HttpRequestException: Exception of type 'ManagerServer.MapApiExtension+HttpRequestException' was thrown.
at ManagerServer.MapApiExtension.GetUserContext(HttpRequest httpRequest) in /home/runner/work/Manager/Manager/ManagerServer/MapApiExtension.cs:line 27
at ManagerServer.HttpHandlers.Api2.Api2.ProcessRequest()
at ManagerServer.HttpServer.<>c.<b__0_9>d.MoveNext() in /home/runner/work/Manager/Manager/ManagerServer/HttpServer.cs:line 233
-– End of stack trace from previous location —
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
at ManagerServer.Authentication.UserResolutionMiddleware.InvokeAsync(HttpContext context) in /home/runner/work/Manager/Manager/ManagerServer/Authentication/UserResolutionMiddleware.cs:line 33
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
“.create()” fails silently (on interAccountTransfers at least). That is, the code seems to run without problem but no transactions are created. This is in the Python manager-api module.
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
at ManagerServer.Authentication.UserResolutionMiddleware.InvokeAsync(HttpContext context) in /home/runner/work/Manager/Manager/ManagerServer/Authentication/UserResolutionMiddleware.cs:line 33
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
@lubos API2 calls still do not work. It is nearly 24 hours. API2 calls are part of our business flow and if they do not work, it is as if nothing is working. Also, soon (in the next few months) we will have to submit uploads for E-invoicing (in UAE) which also will use API2 interface and this will be a major failure for us. Please update us with what is happening and any timeframe for the fix.