I am using googledrive to download directly from my drive folders, I am getting now this error
since i was getting this error Show in New Window
Error in
gargle_abort_request_failed(): ! Client error: (403) Forbidden Insufficient Permission: Request had insufficient authentication scopes. • domain: global • reason: insufficientPermissions • message: Insufficient Permission: Request had insufficient authentication scopes.
Backtrace:
- googledrive::drive_ls(...)
- googledrive:::as_parent(path)
- googledrive:::as_dribble.drive_id(d)
- googledrive::drive_get(id = x)
- purrr::map(as_id(id), get_one_file_id)
- googledrive (local) .f(.x[[i]], ...)
- gargle::response_process(response)
- gargle:::gargle_abort_request_failed(error_message(resp), resp) Error in gargle_abort_request_failed(error_message(resp), resp) :
I used gs4_deauth() and then gs4_auth() to open the google api and get authentified again... I am still getting the same error, what should I do?
Thanks
Means that the access token that was used to make this request was not created with the proper scopes. Im not sure which method you are using exactly but
The file.export method requires one of the following scopes
The file.get method requires one of the following scopes
You need to request authorization of the user with the proper consent scope