Topic Tagging

免费增值
Verified
通过 Twinword, Inc. | 已更新 a year ago | Text Analysis
人气

9.4 / 10

延迟

882ms

服务等级

100%

返回所有讨论

Error API

T
teo
7 years ago

I’m using your APIs, I’m using Topic Tagging by TwinWord. Sometimes (depends on the text), I receive this error {“message”:“Ops, an error occurred (?°?°??”}
What is it? How can i solve it please?
p.s: my X-Mashape-Key is YR23PPSLTYmshItwjEWVQvT6EcrVp1kn3P5jsnBKoOk7M3FbdP

Thanks

avatar
twinword commented 7 years ago

For those who are following, here is an update on our progress in diagnosing this pesky error.

After working with the user @teo, we have come to the conclusion that that error originates solely from Mashape. We tested with the user @teo by bypassing Mashape and @teo reported that those specific calls that returned those errors from Mashape earlier were returned without a problem after connecting directly to our API servers.

It is unclear still why that error happens with Mashape, but we have concluded it is not due to something on our end. Some possibilities may bet that it is related to the length of the parameters, but also other various things.

If you are running into this error and would like to bypass Mashape all together, please contact us at help@twinword.com and to set up an enterprise plan and connect directly to our servers. Enterprise plans are negotiable and include SLAs.

We hope this update helps.

T
teo commented 7 years ago

If I cut a long string every 100 characters, API starts printing that error after 9 requests. WHy?

T
teo commented 7 years ago

Hello,

The problem is not the length of the text.

When I try to analyze JUST ONE string of text, TwinWord API works. if there’s a loop of short strings (even 50 characters each one), after awhile it starts printing this error:

{“message”:“Ops, an error occurred (?°?°??”}

That error derives from Mashape but I’m pretty sure the problem is from TwinWord and Mashape just receives some weird output from you and prints that error.

Help me please

Thanks

avatar
twinword commented 7 years ago

Hello Teo,

First, thanks for using our API and I’m sorry for the issue you are having.

That error message originates from Mashape itself and is due to the size of the “text” query passed.
Other Mashape users have experienced something similar with other APIs. See StackOverflow post below:
http://stackoverflow.com/questions/32170470/ops-an-error-occurred

Could you reduce the size of the text and try again. Unfortunately, this query size limit that Mashape imposes is currently out of our control.

If you have further issues, please feel free to contact us!

Thanks!
Twinword Inc.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:5 - 投票:1