Keyword Suggestion

부분 유료
분류별 Twinword API | 업데이트됨 vor 5 Tagen | Text Analysis
인기

9.5 / 10

지연 시간

3,892ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Internal Errors

Rapid account: Xochipelli
xochipelli
vor 6 Jahren

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 vor 6 Jahren

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 vor 6 Jahren

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입