Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.