Dmitriy09/09/2019, 4:46 PM
when trying to create a BQ table with
ValueError('Could not deserialize key data.')
task? I've got my credentials in a
environment variable as a JSON string and my
I'm not passing anything for
[cloud] use_local_secrets = true [context.secrets] GOOGLE_APPLICATION_CREDENTIALS = "$GOOGLE_APPLICATION_CREDENTIALS"
to the task itself (since it already defaults to
). I'm using Python 3.7.4 and
. Below is the exact output.
If anyone has any suggestions it's much appreciated.
[2019-09-09 16:42:23,995] INFO - prefect.TaskRunner | Task 'Create Table': Starting task run... [2019-09-09 16:42:23,996] INFO - prefect.TaskRunner | Unexpected error: ValueError('Could not deserialize key data.') [2019-09-09 16:42:23,996] INFO - prefect.TaskRunner | Task 'Create Table': finished task run for task with final state: 'Failed'
newline values in the JSON blob
and paste that exact value in for my secret, and it usually solves it
Dmitriy09/09/2019, 5:41 PM
adds escapes and is what appears to be creating the
in the blob. What I did was pasted the blob into a text file, replaced
and pasted that value into my secret and it worked! Thank you for the quick response.