Keyword Suggestion

FREEMIUM
By Twinword API | Updated 4日前 | Text Analysis
Popularity

9.5 / 10

Latency

3,892ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Internal Errors

Rapid account: Xochipelli
xochipelli
6年前

Getting a lot of:
{“result_code”:“515”,“result_msg”:“Error on internal server”}

Is this normal? Server, cloudflare, or connection having issues?

sample:
HTTP/1.1 200 OK
CF-RAY: 42edd95e19b85681-IAD
Content-Type: application/json
Date: Fri, 22 Jun 2018 09:57:09 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: Mashape/5.0.6
Set-Cookie: __cfduid=d13dbabdffac88cd49ea260d932a9099b1529661429; expires=Sat, 22-Jun-19 09:57:09 GMT; path=/; domain=.twinword.com; HttpOnly
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-RateLimit-requests-Limit: 20000
X-RateLimit-requests-Remaining: 18456
X-UA-Compatible: IE=edge
Content-Length: 61
Connection: keep-alive

{“result_code”:“515”,“result_msg”:“Error on internal server”}
ENDOFSEARCH

Rapid account: Twinword
twinword Commented 6年前

Hi xochipelli,

Sorry for the issue you are having. Those errors can arise when our public APIs listed on Mashape are under heavy usage. Publicly listed APIs use shared resources. Making concurrent requests or not waiting between requests will increase the frequency of those errors. Keyword Suggestion API requires many resources and work better under a dedicated environment. If you are interested in your own dedicated server instance, please contact help@twinword.com for an enterprise contract which comes with a guaranteed uptime with an SLA.

Sincerely,

Team Twinword

Rapid account: Xochipelli
xochipelli Commented 6年前

Just tested again… and getting way more fails than success codes.

I did alter the code before my previous test early this morning to reflect changes on mashape request example. Didn’t notice any improvement with my last test and current testing and previous runs.

This is my current request code:
cat {SEEDLIST} | while IFS= read -r line do curl --get --include 'https://twinword-keyword-suggestion-v1.p.mashape.com/suggest/?phrase='"line"
-H ‘X-Mashape-Key: [REQUESTKEY]’
-H ‘Accept: application/json’

And here are the results from my last test:
https://www.dropbox.com/s/eflax036nb3mi2i/test5.rar?dl=0

where file temp1 is the raw returns

Join in the discussion - add comment below:

Login / Signup to post new comments