Dataflow: Qwik Start – Python
This is the third lab I have done in this quest and the 2nd one that gave me an error. The first time I ran this instruction "python -m apache_beam.examples.wordcount.." INFO:apache_beam.runners.dataflow.dataflow_runner:2021-03-02T01:44:40.821Z: JOB_MESSAGE_ERROR: Workflow failed. Causes: There was a problem refreshing your cred entials. Please check: 1. Dataflow API is enabled for your project. 2. Make sure both the Dataflow service account and the controller service account have sufficient permissions. If you are not specifying a controller service ac count, ensure the default Compute Engine service account [PROJECT_NUMBER]-firstname.lastname@example.org exists and has sufficient permissions. If you ha ve deleted the default Compute Engine service account, you must specify a controller service account. For more information, see: https://cloud.google.com/datafl ow/docs/concepts/security-and-permissions#security_and_permissions_for_pipelines_on_google_cloud_platform. , There is no cloudservices robot account for your pr oject. Please ensure that the Dataflow API is enabled for your project. I double checked my project permissions and ran then ran "gcloud auth list" to make sure I had permissions. I didnt change anything but when I ran the command that gave me an error again it worked. Please fix or increase time so others dont waste credits.
You need to export BUCKET otherwise it won't work. Nice Lab