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

Alternative to java.nio.file
Unable to change Spring security access denied standard response
jdbc -PSQLException: Bad value for type timestamp/date/time:{1}
Configurable #SerializedName in Gson
ERROR : Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException
Pig UDF Test cases: org.apache.pig.test.MiniGenericCluster cannot resolve
Using POI for excel works in Java
ActiveMQ keeps ESTABLISHED connections
Java ArrayList<ArrayList<String>> clear() on child clears parent
Force read only first sheet in Apache POI
Get info about which groups didn't matched
IBM Watson Conversation API returning parent node always, not inserting into child node
HttpClient vs HtmlUnit
The method getOrDefault(String, String) is undefined for the type Map<String,String>
Voice recognition/dictation for Android [closed]
import(as library) zip file in library

Categories

HOME
hive
pycharm
comparison
plot
relay
webstorm
razor
sharepoint-designer
ravendb
in-app-purchase
amazon-cloudformation
medical
session-variables
u-sql
caml
highlight.js
conemu
xlsxwriter
facebook-instant-articles
mmap
entitlements
ping
vision
subdomains
nouislider
key-value-observing
twilio-api
perlin-noise
xmlreader
host
suricata
main
restlet
automake
xenforo
az-application-insights
reportingservices-2005
nand2tetris
convertapi
auto-update
komodoedit
pubmed
rails-routing
worksheet
knpmenubundle
sqlbulkcopy
pearson
mako
or-tools
yt-project
spring-android
savon
google-web-starter-kit
mongocsharpdriver
fputcsv
actionbardrawertoggle
bgp
yaws
revolution-r
ford-fulkerson
wordml
ideamart
system32
census
remobjects
p2
umbraco6
javafx-webengine
doskey
oracle-warehouse-builder
monomac
prettify
xsockets.net
sitemesh
tws
flashvars
coderush
google-email-migration
dice
ocx
ohm
window-management
joyent
krl
mongomapper
site.master
mozilla-prism
vc90
nintendo-ds
ti-dsp
gacutil
zune
w3wp
document-conversion

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