java


Drive API not running?


I'm trying to list of all files within Google Drive using Drive API. I've found one API which gives me this list.
When I try to run this API in API explorer it works fine. Give me list of all files
https://www.googleapis.com/drive/v3/files
But when I copy paste url in browser & runs it proving API key, Show me an error.
https://www.googleapis.com/drive/v3/files?key={YOUR_API_KEY}
{
"error": {
"errors": [
{
"domain": "global",
"reason": "insufficientFilePermissions",
"message": "The user does not have sufficient permissions for this file."
}
],
"code": 403,
"message": "The user does not have sufficient permissions for this file."
}
}
I'm pretty new in android. I just want retrieve file list. not search function.

The issue might be your file permission check this documentation for the file permissions -
https://developers.google.com/drive/v3/reference/permissions


Related Links

Activity instance fields null after returning from child activity
Don't destroy a bound Service on Activity destroy
Use a non static function in a static one [duplicate]
Type inference and target type
behavior of ZonedDateTime when parsing string with conflicting zone id and offset
Let users input create object
Exception in thread “main” java.land.NullPointerException
Add icons and marker on Google Map Android
Google App Engine Task Queue REST API for the Java Development Server (devserver)
How to correctly use Dagger 2's field injection with LibGDX?
H2 CSVREAD not seperating field correctly when double quotes in values
Xamarin Java.Lang.Object creation is inefficient
Should I use BigDecimal or double? [duplicate]
How to stop a Spark Job Execution programatically
How do we get SR and FP of IBM JRE using Java?
Null pointer exception when checking for permission with android.content.Context.checkPermission

Categories

HOME
variables
zeromq
iterator
sd-card
mean-stack
framework7
jira
razor
cmd
frameworks
jgroups
jxls
ojdbc
convolution
in-app-purchase
bs4
upload
portia
pheatmap
dax
correlation
designer
dosgi
highlight.js
ef-migrations
footer
lucene.net
google-pagespeed
kryo
cloudhub
sylius
dynamic-featured-image
spring-mybatis
xacml
c++-amp
microsoft-chart-controls
fabric8
http-get
asset-pipeline
mozilla
overlap
code-search-engine
unobtrusive-validation
mapzen
fedex
isbn
dotcover
termination
prolog-setof
theming
ionicons
dropbox-php
nstextview
setter
qtwebview
migradoc
messenger
time-and-attendance
jquery-filter
url-pattern
color-picker
sts-springsourcetoolsuite
thrust
paypal-express
php-internals
lib.web.mvc
endeca-workbench
fouc
ibaction
service-accounts
php-ci
method-parameters
mmc
oberon
fscommand
gui-test-framework
document-classification
transcoding
mcts
prettify
xsockets.net
ril
gridcontrol
delphi-6
quickdialog
dice
getmessage
pydot
doh
cinema-4d
web-application-design
filtered-index
memory-size
microsoft-virtualization
ubuntu-9.04
data-acquisition





Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm