Azure Sentiment from Tweet text
Marius
1
Reputation point
Hello!
I am trying to get the sentiment of a tweet text using the flow of a Logic App.
The trigger is When a new tweet is post and I am using Sentiment (V3) to get the sentiment of the tweet text.
As a result, I have an error message saying that "The response is not in a JSON format.
{
"statusCode": 404,
"headers": {
"Pragma": "no-cache",
"request-id": "1b4180db-f0aa-459a-b4a5-212d342cc5c6",
"elapsed-time": "13",
"Strict-Transport-Security": "max-age=15724800; includeSubDomains",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-cache",
"Date": "Wed, 02 Nov 2022 21:46:11 GMT",
"Content-Length": "267",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"error": {
"code": 404,
"source": "logic-apis-westeurope.azure-apim.net",
"clientRequestId": "1b4180db-f0aa-459a-b4a5-212d342cc5c6",
"message": "The response is not in a JSON format.",
"innerError": "Cannot read server response."
}
}
}
Could you please help?
Thank you!
Best regards,
Marius