Jump to content

Problem accessing API


renovare

Recommended Posts

Hi -- I have followed the instructions in AdminCP > System API:

  • downloaded htaccess
  • uploaded and renamed to .htaccess

When I hit continue I an error which I can't get past:

Quote

The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://community.renovare.org/api/core/hello

Going to https://community.renovare.org/api/core/hello returns:

{
    "errorCode": "2S290\/6",
    "errorMessage": "NO_API_KEY"
}

I am using SSL through Cloudflare if that makes any difference. Any ideas?

Thanks in advance,
Brian (renovare)

Link to comment
Share on other sites

Please see our REST API documentation here: https://invisioncommunity.com/developers/rest-api

Of note:

Quote

If PHP is running as a CGI module (which can be confirmed by checking the phpinfo output for your server), then you will need to authorize your requests by sending your API key as the key parameter. For example:


http://www.example.com/api/core/hello?key={apiKeyHere}

 

Link to comment
Share on other sites

Thanks @bfarber. I think you're right that it's running as a CGI module and needs a key. But unfortunately I can't generate a key in the AdminCP because I'm stuck on "The API endpoint is not giving the expected response." Is there a way around this error message so I can get to the API key screen?

Brian

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...