简体   繁体   English

实施Acumatica REST API时出错

[英]Error Implementing Acumatica REST API

I am currently trying to implement the use of the Acumatica REST APIs in a project I am working on. 我目前正在尝试在我正在研究的项目中实现Acumatica REST API的使用。 I am able to successfully log in to the application. 我能够成功登录到该应用程序。

The issue is when I try to access additional data, customers for example, I receive the following message: {"message": "You have been logged out because your account has been disabled. Please contact your system administrator."} in the form of a 403 error. 问题是当我尝试访问其他数据时(例如,客户),我收到以下消息:{“ message”:“您已注销,因为您的帐户已被禁用。请与系统管理员联系。”} 403错误。

I checked my account permissions and I do have the System Admin Role on the account I am using to log in to Acumatica. 我检查了我的帐户权限,并且在用于登录Acumatica的帐户上确实具有系统管理员角色。 Below is a screen shot of my postman. 以下是我的邮递员的屏幕截图。

邮递员屏幕截图

You probably have the admin user disabled. 您可能已禁用管理员用户。

Some function of Acumatica impersonate the admin user in order to complete their task. Acumatica的某些功能可模拟管理员用户以完成其任务。 Some of these functionalities include the web services, the scheduler and the integration services. 其中一些功能包括Web服务,调度程序和集成服务。

Enabling the admin user should fix the issue you are facing. 启用管理员用户应该可以解决您面临的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM