Sentiment Analysis

FREEMIUM
Verified
Durch Twinword API | Aktualisiert il y a un mois | Text Analysis
Popularität

9.6 / 10

Latenz

230ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Keeps saying invlad Mashape Aplication Key 401 error

Rapid account: Mtsvelik
mtsvelik
il y a 10 ans
Rapid account: Chaitupramod
chaitupramod Commented il y a 8 ans

I am also facing the same problem . there is an error which states ‘{“result_code”:“415”,“result_msg”:“Does not look like a valid request”}’ in my json output.

The code I am using is :

$response = Unirest\Request::post(“https://twinword-sentiment-analysis.p.mashape.com/analyze/”,

array(

"X-Mashape-Key" => "xxxxx",


"Content-Type" => "application/x-www-form-urlencoded",


"Accept" => "application/json"

),

array(

"text" => "great value in its price range!"

)

);

Can somebody help me with this please ?

Rapid account: Cmorisetty
cmorisetty Commented il y a 9 ans

Thank you

Rapid account: Twinword
twinword Commented il y a 9 ans

Hi cmorisetty,

First, thanks for trying our API!

That error appears when the endpoint does not receive a POST or GET parameter called “text” containing the string of text you want to analyze.

Please let us know if you need more help! Thanks!

Rapid account: Cmorisetty
cmorisetty Commented il y a 9 ans

Hi,

I am trying to access your API however, I keep receiving an error response as “415: Does not look like a valid request”.

When does the api return this result? If there is something wrong with the data or something wrong with JSON object passed to the API? I am using .Net to connect to it.

Thank you.

Note: I am quite new to all this

Rapid account: Twinword
twinword Commented il y a 10 ans
Rapid account: Mtsvelik
mtsvelik Commented il y a 10 ans

Not to worry, solved!

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen