BigQuery scheduling: Error code 3 : reauth related error

故事扮演 提交于 2020-01-25 06:51:31

问题


I have scheduled queries on BigQuery.

They have failed since last Thursday.

I got the error below on the Run Detail section

Error code 3 : reauth related error (invalid_rapt)

Cannot find the error code on Troubleshooting on BigQuery document.


回答1:


The problem you are posting is being treated in this public issue tracker. It appears that this issue is related with the Google Cloud authentication permissions. Recently, the Cloud ReAuth policy was introduced in order to improve the user authentication. The Cloud ReAuth policy includes an additional token that must be provided in each API request. After 20 hours, the token will expire and the user must reauthenticate in order to use GCP APIs, use gcloud or access to the Google Cloud Platform UI.

Updating the user credentials can be employed as a workaround when BigQuery raises the error Error code 3 : reauth related error (invalid_rapt) for a particular query. There are two ways this can be done:

1 - From the Google Cloud SDK following the instructions of the gcloud command gcloud auth application-default login.

2 - From the BigQuery web UI. Inside the “Scheduled query details” you will find the “MORE” options on the right side. By clicking on “MORE” -> “Update credentials” the user credentials will be updated for this particular query.



来源:https://stackoverflow.com/questions/58889340/bigquery-scheduling-error-code-3-reauth-related-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!