Step
Acumatica
Message
Error querying Acumatica. The number of concurrent API logins specified for your user account on the Users (SM201010) form has been reached.
Cause
The error occurs when the maximum number of concurrent API logins allowed for your user account has been reached. This limit is configured in Acumatica's User Management settings (SM201010 form) and prevents too many simultaneous API connections from the same user account. When this limit is exceeded, Acumatica refuses new login attempts to maintain system stability and security.
Resolution
To resolve this error, you can take the following steps:
1. Reduce the number of flows running at the same time with the same Acumatica credentials.
2. Contact your Acumatica administrator to increase the concurrent API login limit for your user.
3. You can throttle the number of requests to Acumatica by adding a delay after each record.
Error Detail
json
{
"message": "Error querying Acumatica",
"statusCode": 500,
"errorMessage": "An error has occurred.",
"requestUrl": "https://kdverp.com/KDV/entity/auth/login",
"error": {
"message": "An error has occurred.",
"exceptionMessage": "The number of concurrent API logins specified for your user account on the Users (SM201010) form has been reached.",
"exceptionType": "PX.Data. PXException",
"stackTrace": "in C: \\build\\code_repo\\NetTools\\PX.Data\\Access\\Login.cs:line 367\r\n at PX.Data. PXLogin. PX.Data. IPXLogin. LoginUser(String& userName, String password) in
C:\\build\\code_repo\\NetTools\\PX.Data\\Access\\Login.cs:line 262\r\n at PX.Api. Services. LoginService. PX.Api. Services. ILoginService. Login(String login, String password, String company, String
branch, String locale, String prefix) in C:\\build\\code_repo\\NetTools\\PX.Data\\Api\\Services\\LoginService.cs:line 130\r\n
PX.Api. ContractBased. ILoginServiceExtensions. LoginForSoapApi(ILoginService loginService, IMultiFactorService multiFactorService, String login, String password, String company, String branch, String
locale) in C:\\build\\code_repo\\NetTools\\PX.Data\\Api\\ILoginServiceExtensions.cs:line 22\r\n
lambda_method(Closure , Object , Object[] )\r\n at Microsoft.AspNetCore.Mvc. Internal.ActionMethodExecutor. SyncActionResultExecutor. Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor
executor, Object controller, Object[] arguments) \r\n at Microsoft.AspNetCore.Mvc. Internal. ControllerActionInvoker .< InvokeActionMethodAsync>d_12.MoveNext() \r\n --- End of stack trace from previous
location where exception was thrown --- \r\n at System. Runtime. ExceptionServices. ExceptionDispatchInfo. Throw()\r\n
<InvokeNextActionFilterAsync>d_10.MoveNext()\r\n --- End of stack trace from previous location where exception was thrown --- \r\n at
System. Runtime. ExceptionServices. ExceptionDispatchInfo. Throw()\r\n at Microsoft.AspNetCore.Mvc. Internal. ControllerActionInvoker. Rethrow(ActionExecutedContext context) \r\n a
Microsoft.AspNetCore.Mvc. Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc. Internal.ControllerActionInvoker.
<InvokeInnerFilterAsync>d_13.MoveNext()\r\n --- End of stack trace from previous location where exception was thrown --- \r\n at System. Runtime. ExceptionServices. ExceptionDispatchInfo. Throw() \r\n
at Microsoft.AspNetCore.Mvc. Internal. ResourceInvoker .< InvokeNextExceptionFilterAsync>d_24.MoveNext()"
},
"stepType": "Destination",
"stepName": "Buffer",
"stepId": "b1f28cf2-57c1-4951-bacc-89c20ca30e65",
"mapStepId": "ngq-H5WzI",
"mapStepPath": "cXPk95AGb.cXPk95AGb:0.ngq-H5WzI",
"mapStepType": "Step",
"module": "Synatic",
"commandProcessingError": null
}