Sage 300 Web API - Sage 300 2020

Getting below error when calling API for AR module.

The 2 config files are enabled  (https://www.sagecity.com/support_communities/sage300_erp/f/sage-300-general-discussion/110205/unable-to-make-a-get-call-using-sage-300-web-api) and in Sage 300 USER a WEBAPI  user created with Full access to AR module. 

What could be wrong?

{

  "error": {

    "code": "DBLinkError",

    "message": {

      "lang": "en-US",

      "value": "Unable to access the requested application due to an installation or configuration problem."

 

    }

  }

}

  • 0

    First of all, enable web API for admin and test with the admin user. If that gives the same, then there is a set up problem with Sage. If you can get in with admin, then it is a set up problem with the user. Did you create a security group for the web API user? If so, what authorisations did you give it? In the AR module did you give it Sage 300 Web API access? What other modules have you got active? Enable all for common services, and administrative services, and then strip back as required until it doesn't work.

  • 0 in reply to Vega

    Doesnt work with ADMIN. created a new VM installed Sage on it and it worked for ADMIN. So now in my production environment i am thinking will a sage repair help fix the issue ? if it doesnt then means i need a clean OS Windows and start again.