Sentiment Analysis

FREEMIUM
Verified
Por Twinword API | Actualizada a month ago | Text Analysis
Popularidad

9.6 / 10

Latencia

229ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

Keeps saying invlad Mashape Aplication Key 401 error

Rapid account: Mtsvelik
mtsvelik
10 years ago
Rapid account: Chaitupramod
chaitupramod Commented 8 years ago

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 9 years ago

Thank you

Rapid account: Twinword
twinword Commented 9 years ago

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 9 years ago

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 10 years ago
Rapid account: Mtsvelik
mtsvelik Commented 10 years ago

Not to worry, solved!

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios