Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi getTwitter : HTTP/1.1 401 Authorization Required

avatar
Expert Contributor

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

avatar
Expert Contributor

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

avatar
Expert Contributor

Resolved Solution Steps

* Firewall restriction removal

* Twitter Credentials regeneration

* Restart of NIFI deleting provenance repository

* Ensured NTP server is sync

Worked fine.