singer-io / tap-typeform

Singer.io tap for extracting TypeForm data
GNU Affero General Public License v3.0
11 stars 20 forks source link

401 Error with correct API Token #12

Open alexbouchardd opened 4 years ago

alexbouchardd commented 4 years ago

Hello! I've been running the tap as a stitch data integration for a few weeks. Inititally everything seemed to work fine but for about ~2 weeks I've been getting the following error:

401 Client Error: Unauthorized for URL: https://api.typeform.com/forms/AwV0hR/responses?until=1541941200&since=1541937600&page_size=1000

I've attempted to query the API for the same form id with the same API token with success. It also occurs with other forms id (4 of them).

Here are the latest attempt logs: 134947.193614.sync.b74063ca-f998-11e9-be43-06591b4e2f20.txt

flpezet commented 4 years ago

Hi! Are you sure that you can query the Typeform API outside of Singer (via Postman for instance)? It looks like more to a Typeform bug than a Singer one. See Troubleshooting Typeform.

alexbouchardd commented 4 years ago

That was almost my initial thoughts and after testing with both Postman and Curl I could not replicate the error.

However, yesterday I read https://github.com/singer-io/tap-typeform/issues/9 and how of curiosity I changed the replication to be daily and the issue went away. Might have just been circumstantial but the data is now syncing correctly.