Solved

Cannot access api docs through Aurena

  • 3 September 2021
  • 1 reply
  • 230 views

Userlevel 5
Badge +9

When trying to use API documentation through Aurena API Explorer, I come up against the error detailed in doc attached

icon

Best answer by Charith Epitawatta 4 September 2021, 09:15

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +31

Hi @Chathura Karunarathna,

Looks like you are trying to access API Doc of an environment hosted in ifs.cloud domain from your local computer and getting a 403: Unauthorized error. You can directly access API Doc only in CORS(Cross-Origin Resource Sharing) enabled environments according to following documentation.

https://docs.ifs.com/techdocs/foundation1/045_administration_aurena/240_integration/010_api_doc/default.htm

This is usually a configuration set in server side that clients decide to enforce or not. All modern browsers enforce this but tools like Postman do not. So you can see whether you get the same error with Postman. You may get a 401: Unauthorized error though, in which case you may have to provide authorization details.

Hope this helps!