Jump to content

You don't have permission to access the requested directory.


Recommended Posts

  • Newbies

Hi 

I'm new to develop API's on FM server

I have a local server attached to public ip - Use it as a test environment

when I try to execute this URL on a browser {MyiP}/fmi/data/v1/databases/{Database}/sessions

it says 

You don't have permission to access the requested directory.
There is either no index document or the directory is read-protected.
 
How I can solve this issue ?
 
Note: I'm trying to give those API to a thirdparty developer to test it from their side, I just want he to create and get records from the dummy data that i kept for him
 
Thank you 
Link to post
Share on other sites

These things don't work from a browser like you may expect them to.  You need a tool like Postman or Insomnia or Paw that lets you create the full request including headers and body.

To use the Data API you need a valid SSL certificate, it doesn't work over IP, not unless you are in a coding environment here you can force it to skip SSL validation (which you may want to do for testing but NOT for production).

The easiest is to just get an SSL cert so that you can develop and test with the equivalent of a prod environment.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who Viewed the Topic

    1 member has viewed this topic:
    Orlando 

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.