Hi i am trying to collect data from twitter search Api using Twitter4j. Every thing is working fine but after certain no. of calls to the Api it is throwing the following error.
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 - Missing or invalid url parameter
code - 195
Using thread.sleep i am calling Api every 1 min. so at the max it can have 60 calls. But the limit is 350 with authentication, then also i am getting this error.
Please help me out i am very new to this. Thanks in advance.
What are you sending in the DM. From now on it seems that if your message contains an URL the DM will be rejected:
https://support.twitter.com/articles/14606-posting-or-deleting-direct-messages
Related
After 2 weeks that I was using that API correctly and I have upload a few video on YouTube, today I receive this error when I try to get a new access token:
Error 400: invalid_scope
Some requested scopes were invalid. {invalid=[https://googleapis.com/auth/youtube.upload]}
Also with the old access token that was working yesterday, now I cannot proceed..
Now I can think that YouTube for some reason have blocked me or something like that because I haven't changed the code.. Anyone have experienced something like this? How I can proceed? At least I want to know if I was 'blocked' and for what reason.
I'm getting the following error message.
Failed to execute Skype backend request GetThreadsS2SRequest
when trying to Add, Update or Delete channels using MS Graph API for Teams. The calls were working fine for a while but now suddenly this error comes up. This happens particularly when the channel type is private. Any help would be much appreciated. Thanks.
Trying to make call from my app to a number using Twilio API's
When call is received, getting application error
and here is the debugger logs for that call:
Error - 11200 HTTP retrieval failure 502 Bad Gateway errors
Passing a URL when POST Request.
Can anybody help me through this?
have you taken a look at this information from Twilio? They give possible causes and possible solutions for the error you received. Did you specify the correct content-type header in your response?
If you could share your code, that would be great!
Hope this helps!
I recently got oAuth working for my iOS app to log in to Tumblr. Now I'm having trouble posting using the new API calls. I'm able to generate a request and prepare Autorization headers but I'm still getting errors.
Here is my URL:
http://api.tumblr.com/v2/blog/my_blog.tumblr.com/post?tweet=no&tags=my%2C%20app&state=published&type=text&title=Hello&body=I%2520finally%2520got%2520this%2520to%2520work
Here is my Authorization header with x's in place of sensitive info:
Authorization = "OAuth realm=\"\", oauth_consumer_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_token=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"XXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_timestamp=\"1347656207\", oauth_nonce=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\", oauth_version=\"1.0\"";
There error I receive:
{"meta":{"status":400,"msg":"Bad Request"},"response":{"errors":["Post cannot be empty."]}}
Does anyone have experience with this? I've been working at it for at least 20 hours over a two day period.
Any help is greatly appreciated.
EDIT: I've also tried including authorization data in the url (i.e., oauth_token, oauth_consumer_key), essentially the stuff found in the header. When I do this I get a 401 "Not Authorized" error, which I know isn't correct because I just successfully called "http://api.tumblr.com/v2/user/info" which requires a valid authorization.
found solution, see explanation here.
I check trends regarding to REST API of twitter. get trends
Generally it works well. But sometimes I get 404 error.
After some minutes it comes back.
Error code is:
{"errors":[{"message":"Sorry, that page does not exist","code":34}]}
Does anyone had this issue? What would you recommend ?
Please check this link, it gives 404 now.
https://api.twitter.com/1/trends/1.json
how often are you accessing this call - are you sure you are not breaching the rate limit? If not breaching, this could possibly be an issue on the twitter end and you would need to handle the error message, use the previously cached response for your application till you get an updated feed from twitter. hope this helps