Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
renovare Posted October 21, 2017 Posted October 21, 2017 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)
bfarber Posted October 23, 2017 Posted October 23, 2017 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}
renovare Posted October 23, 2017 Author Posted October 23, 2017 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
bfarber Posted October 24, 2017 Posted October 24, 2017 I would recommend submitting a ticket so we can take a look
Recommended Posts
Archived
This topic is now archived and is closed to further replies.