Bigquery tables get data API returning Access Denied

46 Views Asked by At

Not able to get the BQ get table data API work with row level policies.

Trying to make a HTTP API call to: https://bigquery.googleapis.com/bigquery/v2/projects/<project-name>/datasets/<dataset-name>/tables/<table-name>/data.

I have authenticated using a OAuth2 acccess token.

I am getting error: Access Denied: Table <table-name>: User does not have full access for table <table-name> due to row access policies.

Row level security policy have been defined for my user on the table. How can I make the above API call work with row level security?

1

There are 1 best solutions below

4
guillaume blaquiere On BEST ANSWER

You must use TRUE filter on your row filtering definition.