Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi getTwitter : HTTP/1.1 401 Authorization Required

Solved Go to solution

NiFi getTwitter : HTTP/1.1 401 Authorization Required

Rising Star

NiFi processor - GetTwitter with correct twitter credentials (Consumer Key, Consumer secret, Access token, Access token secret) is not working. Throws error : Received error HTTP_ERROR: HTTP/1.1 401 Authorization Required. Will attempt to reconnect.

It used to work fine for me in different environments. I have checked with network team on port blocks earlier and resolved Failed to establish Connection error. I tried multiple times of regenerating keys and updating the processor but still same error. Please advice.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: NiFi getTwitter : HTTP/1.1 401 Authorization Required

Rising Star

Resolved Solution Steps

* Firewall restriction removal

* Twitter Credentials regeneration

* Restart of NIFI deleting provenance repository

* Ensured NTP server is sync

Worked fine.

View solution in original post

1 REPLY 1
Highlighted

Re: NiFi getTwitter : HTTP/1.1 401 Authorization Required

Rising Star

Resolved Solution Steps

* Firewall restriction removal

* Twitter Credentials regeneration

* Restart of NIFI deleting provenance repository

* Ensured NTP server is sync

Worked fine.

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here