Full-Text RSS

FREEMIUM
(Ким) FiveFilters.org | Оновлено 4 days ago | Tools
Популярність

9.7 / 10

Затримки

939ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

Valid Key Not Supplied Error

Rapid account: Macharia
macharia
9 years ago

I am trying to use the article extractor but whenever I try making a call using a valid rss url, I get an error

Valid Key Not Supplied

However, when I run the article converter using the same url and application, with the same key, I get valid output

Rapid account: Macharia
macharia Commented 9 years ago

I just selected an application and run the example code snippet on Mashape with no entry fields changes

 // These code snippets use an open-source library. http://unirest.io/php
$response = Unirest::post("https://full-text-rss.p.mashape.com/extract.php",
  array(
    "X-Mashape-Key" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "Content-Type" => "application/x-www-form-urlencoded",
    "Accept" => "application/json"
  ),
  array(
    "content" => "1",
    "inputhtml" => "<html><head><title>Example</title><body><article itemprop="articleBody"><p>Test</p></article></body></html>",
    "lang" => "2",
    "links" => "remove",
    "parser" => "libxml",
    "url" => "chomsky.info/articles/20131105.htm",
    "xss" => "1"
  )
);

When I run that snippet, I get an error

HTTP/1.1 200 OK
Connection: keep-alive 
Content-Length: 28
Content-Security-Policy: script-src 'self'; connect-src 'none'; font-src 'none'; style-src 'self'
Content-Type: text/html 
Date: Wed, 14 Jan 2015 08:29:53 GMT
Server: Mashape/5.0.5
X-Ratelimit-Calls-Limit: 500
X-Ratelimit-Calls-Remaining: 410
X-Robots-Tag: noindex, nofollow

A valid key must be supplied
Rapid account: Fivefilters
fivefilters Commented 9 years ago

Could you please show us how you’re making the call, and the parameters you’re passing. You can exclude the API key.

Rapid account: Fivefilters
fivefilters Commented 9 years ago

Hi Macharia, thanks for the report. We’ll look into this today and update again here.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення