You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Run the query on BigQuery.
result=$(cat $query \|$BQ_CMD)# Make sure the query succeeded.if [ $?-eq 0 ];then# Upload the response to Google Storage.echo$result \
| gsutil -h "Content-Type: application/json" cp - $gs_urlelseecho$result>&2fi
Maybe a newer version of gsutil doesn't like the -h flag?
During
generateReports.sh
at the end of each metric being generated, I noticed the following error:CommandException: Invalid command "application/json".
Ensure that the JSON files are being uploaded to GCS correctly.
The text was updated successfully, but these errors were encountered: