Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Info

REST API is only available to users who:

  • Have HansaWorld version STDERP_8.4 - 2017-11-22 or above

During the setup you will need to:

  • Get a working URL to Standard ERP over HTTPS
  • Enable REST API with correct access rights in HansaWorld

...

Error MessageMeaningPossible Reasons
"Source application did not authorize authorise your request"There is no validation for your request
  • Wrong Developer Credentials - They must be unique for each customer. Make sure you have entered them correctly.
  • Wrong Standard ID login  or Password - Please check if you have entered correct user and Password.
  • The Standard ID login does not have access to the first company on the server list. Use parameter to change default company.

"Source application did not authorise your request"

invalid_request:
{"error":"invalid_request"}

The REST API request is incorrect.
  • Trailing space in the Client ID or Client Secret field. Please check the values.
  • Wrong or missing host and/or protocol settings under
    [default_url_options]
     in the eazybi.toml file.
Access type must be 'offline' and response type must be 'code'Cannot login to mystandard.hansaworld.com when redirected from flex.bi
  • Incorrect username or password when logging in with standardID.
the resource is not allowedThe user's access group is not allowed to use the Rest API
  • The user's access group doesn't have full access for Type:Action Item:Rest API in your HansaWorld server.

initialize: name or service not known

Wrong Source Data URL

  • Check the URL, by copying it into tour browsers search bar.

connection reset by peer

"http" instead of "https" in Source Data URL

  • Check if the URL starts with "https".
flex.bi: File not found
Standard ERP (hansa.log): path not allowed: api/1/IVVc
Can't access the register on the Standard ERP server
  • Configure Access to functions from Web setting according to the step 5 above.

...