Note that there are some explanatory texts on larger screens.

plurals
  1. POUnsure on how to solve a "termsOfServiceNotAccepted" Error
    primarykey
    data
    text
    <p><strong>Background</strong>: So I'm a novice to the whole app engine thing: I have made an app on google app engine that on the main page accepts user input and then sends the information to a handler that then uses the Big Query API to run a synchronous query with some tables I have uploaded to Big Query. The handler then sends back the results of the query as a json.</p> <p><strong>Problem</strong>: In deployment it works mostly except sometimes a user can often run into this error while trying to make the synchronous query: </p> <pre><code>Error in runSyncQuery: { "error": { "errors": [ { "domain": "global", "reason": "termsOfServiceNotAccepted", "message": "BigQuery Terms of Service have not been accepted" } ], "code": 403, "message": "BigQuery Terms of Service have not been accepted" } } </code></pre> <p>After doing some searching I com across this: <a href="https://groups.google.com/forum/#!msg/bigquery-announce/l0kwVNpQX5A/ct0MglMmYMwJ" rel="nofollow">https://groups.google.com/forum/#!msg/bigquery-announce/l0kwVNpQX5A/ct0MglMmYMwJ</a></p> <blockquote> <p>If you make API calls that are authenticated as an end user, then API calls will soon return errors when the end user has not accepted the updated Terms of Service. Apps built against the BigQuery API should ideally look for those errors and direct the user to the Google APIs Console to accept the new terms. </p> </blockquote> <p>Except I dont really understand how to do this. </p> <p>Also all the potential user accounts that I have tested my app with have access to a specific project that has Big Query API enabled, and can use the API so why does this pop up?</p> <p>Also there are times when a specific account does not run into this problem. For instance if I keep refreshing and retrying to use the app eventually it will not have this problem and work. But then the next time this error will resurface again. I don't understand how a user can have accepted the terms of service at one point of time and then not another at some point in the future?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload