Full-Text RSS

फ्रीमियम
द्वारा FiveFilters.org | अपडेट किया गया एक वर्ष पहले | Tools
लोकप्रियता

9.1 / 10

लेटेंसी

1,109ms

सेवा का स्तर

100%

सभी चर्चाओं पर वापस जाएं

Valid Key Not Supplied Error

M
macharia
8 वर्ष पहले

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

M
macharia commented 8 वर्ष पहले

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
avatar
fivefilters commented 8 वर्ष पहले

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

avatar
fivefilters commented 8 वर्ष पहले

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

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें
रेटिंग: 5 - वोट: 1