rohan472000 / gcp-stock-data-pipeline

This project fetches crypto/stock data through Tiingo API, processes it using Dataproc(PySpark), and stores it in BigQuery.
3 stars 2 forks source link

OSError: File name too long, github action failing for run-scripts.yml #1

Open charlie8658 opened 1 year ago

charlie8658 commented 1 year ago

why its happening- check here: https://github.com/rohan472000/gcp-crypto-data-pipeline/actions/runs/4807314796/jobs/8555920289

rohan472000 commented 1 year ago

@charlie8658 The error message indicates that the filename of my Google Cloud service account key is too long. This can sometimes occur when the path of the file is too long.

rohan472000 commented 1 year ago

@cclauss kindly look into the error, please suggest any solution.

cclauss commented 1 year ago

The private key has been published at the URL above.

You should immediately get a new private key and do not publish the new one to the Internet.

from_service_account_json() is expecting a filename like creds.json or keys.json, not a wad of json text.

rohan472000 commented 1 year ago

another error saying FileNotFound

https://github.com/rohan472000/gcp-crypto-data-pipeline/actions/runs/4810033390/jobs/8562086112

i have changed SA key after this