Reply
New Contributor
Posts: 1
Registered: ‎01-23-2017

404:The URI requested is invalid or the resource requested, such as a user, does not exist

Error: (Twitter Stream consumer-1[Establishing connection]) [INFO - twitter4j.internal.logging.SLF4JLogger.info(SLF4JLogger.java:83)] 404:The URI requested is invalid or the resource requested, such as a user, does not exist.
Unknown URL. See Twitter Streaming API documentation at http://dev.twitter.com/pages/streaming_api

The command that I used to run apache flume is:
bin/flume-ng agent -n kalyan-twitter-agent -c conf -f conf/kalyan-twitter-agent.conf -Dflume.root.logger=DEBUG,console -Dtwitter4j.streamBaseURL=https://stream.twitter.com/1.1

 

New Contributor
Posts: 1
Registered: ‎02-09-2018

Re: 404:The URI requested is invalid or the resource requested, such as a user, does not exist

hai did u get d amswer for d above problem


Shweta15 wrote:

Error: (Twitter Stream consumer-1[Establishing connection]) [INFO - twitter4j.internal.logging.SLF4JLogger.info(SLF4JLogger.java:83)] 404:The URI requested is invalid or the resource requested, such as a user, does not exist.
Unknown URL. See Twitter Streaming API documentation at http://dev.twitter.com/pages/streaming_api

The command that I used to run apache flume is:
bin/flume-ng agent -n kalyan-twitter-agent -c conf -f conf/kalyan-twitter-agent.conf -Dflume.root.logger=DEBUG,console -Dtwitter4j.streamBaseURL=https://stream.twitter.com/1.1

 


 

Champion
Posts: 710
Registered: ‎05-16-2016

Re: 404:The URI requested is invalid or the resource requested, such as a user, does not exist

Did you add the below jars 

twitter4j-core-X.XX.jar
twitter4j-stream-X.X.X.jar
twitter4j-media-support-X.X.X.jar

What user are you runining the flume ? 

what is the permission on the hdfs directory ? 

Announcements