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

Changing an ImageResource (drawable) programmatically
How can I configure Jackson to get a serializer via a static getInstance() method?
Thread.sleep alternative for an operation that needs to block for x miliseconds
Nesting formats in String.format
Java - method parameters, String followed by List
why i am getting org.json.JSONException: Value property of type java.lang.String cannot be converted to JSONObject?
How to record video in front camera using surfaceview without mirror effect?
How to use 'ANY' function with JOOQ
Handling Generics list within object for JAX-RS Client
Protected constructor accessible in sibling-class [duplicate]
Guava ImmutableBiMap becomes LinkedHashMap and cause Spring autowiring mistake
Mockito: Mocked instance is not injected after annotating spring bean with #RefreshScope [duplicate]
JSON - * equivalent to return all values within timeStamp
Spring autowire only if bean is present as method argument
FTP downloaded image is not displayed correctly
Resizing image file rotate it horizontally android

Categories

HOME
compiler-construction
testing
coq
cookies
server
webstorm
youtube-dl
tizen-web-app
c#-2.0
upload
adobe-analytics
izpack
php-7.1
phaser
undefined
nhibernate-envers
samoa
emulator
zurb-foundation-6
microsoft-r
microsoft-sync-framework
javacv
wpfdatagrid
applozic
minitab
publish
wtx
directx-10
titanium-mobile
pdb
perlin-noise
ghost4j
mapdb
overlap
restlet
mixture-model
android-browser
objectlistview
webix-treetable
ssjs
user-controls
eigenvalue
midl
dotcover
appcompat
hibernate-tools
strptime
errordocument
multipeer-connectivity
tizen-native-app
carrot
composite-key
pg-dump
sqlbulkcopy
pillow
imanage
smart-table
specrun
angular-cache
grails-tomcat-plugin
httplistener
asp.net-4.5
plottable.js
contact-list
holder.js
tcpserver
purge
clipperlib
streambase
e10s
formatjs
jsonpickle
java.util.concurrent
java-metro-framework
zend-route
php-5.4
jquery-layout
phpthumb
hippomocks
farseer
ms-project-server-2010
cdc
html4
qt-faststart
yui-compressor
itmstransporter
wse3.0
enter
pendrive
joyent
self-extracting
recent-documents
mozilla-prism
mtj
yagni
grid-system
ugc
windows-live-messenger
lzh
caching-application-block

Resources

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
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App