Upgrade to our Platinum service and let us build your bot for you

** Server is current under maintenance, any changes will be lost **

Bugs and Features

twitter

by signcrafter posted Dec 27 2013, 10:24

Okay new issue.... on twitter I get this error array in my log

2013-12-27 10:18:56.557 - SEVERE -- 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18

403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18

Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=f0e127fb or
http://www.google.co.jp/search?q=305f604f
TwitterException{exceptionCode=[f0e127fb-305f604f], statusCode=403, message=Too many terms specified in query., code=18, retryAfter=-1, rateLimitStatus=RateLimitStatusJSONImpl{remaining=165, limit=180, resetTimeInSeconds=1388165256, secondsUntilReset=519}, version=3.0.4}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:162)
at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:81)
at twitter4j.TwitterImpl.get(TwitterImpl.java:1912)
at twitter4j.TwitterImpl.lookupUsers(TwitterImpl.java:817)
at org.pandora.sense.twitter.Twitter.getFriends(Twitter.java:464)
at com.paphus.botlibre.client.bean.TwitterBean.getFriends(TwitterBean.java:74)
at org.apache.jsp.twitter_jsp._jspService(twitter_jsp.java:246)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2430)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2419)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

2013-12-27 10:18:56.557 - WARNING -- Twitter(org.pandora.sense.twitter.Twitter):403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18

2013-12-27 10:19:09.697 - SEVERE -- 403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18

403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18

Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=f0e127fb or
http://www.google.co.jp/search?q=305f604f
TwitterException{exceptionCode=[f0e127fb-305f604f], statusCode=403, message=Too many terms specified in query., code=18, retryAfter=-1, rateLimitStatus=RateLimitStatusJSONImpl{remaining=163, limit=180, resetTimeInSeconds=1388165256, secondsUntilReset=506}, version=3.0.4}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:162)
at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:81)
at twitter4j.TwitterImpl.get(TwitterImpl.java:1912)
at twitter4j.TwitterImpl.lookupUsers(TwitterImpl.java:817)
at org.pandora.sense.twitter.Twitter.getFriends(Twitter.java:464)
at com.paphus.botlibre.client.bean.TwitterBean.getFriends(TwitterBean.java:74)
at org.apache.jsp.twitter_jsp._jspService(twitter_jsp.java:246)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2430)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2419)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

2013-12-27 10:19:09.697 - WARNING -- Twitter(org.pandora.sense.twitter.Twitter):403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Too many terms specified in query.
code - 18


I hav tried turning everthing off and different twitter accounts and get the same error


by signcrafter posted Dec 27 2013, 11:02
Okay this issue is only happening on my pre existing accounts.... it did not happen on a new account.... any advise?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1198, today: 0, week: 0, month: 2

by admin posted Dec 28 2013, 6:39
It seems to be related to a limit in the number of friends in the Twitter API. How many friends does the user failing have? I will look into it in more detail and get back to you.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1460, today: 0, week: 0, month: 1

by signcrafter posted Dec 28 2013, 14:02
Over 400.... also is there a way to have more than 1 rss feed or change the amount of time bot sleeps between postings?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1345, today: 0, week: 0, month: 3

by admin posted Dec 30 2013, 9:40
The issue should be fixed now. Also you should be able to add multiple RSS feeds, separated by a new line. Please let me know if your problem has been resolved.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1358, today: 0, week: 0, month: 2

Id: 5503
Posted: Dec 27 2013, 10:24
Replies: 3
Views: 1912, today: 1, week: 1, month: 6
I'm sure
Flag post as offensive, or in violation of site rules