Search code examples
google-mapsgoogle-drive-apigoogle-fusion-tables

Access data of fusion table in Google drive under service account


When i am trying to insert permission to fusion table in my service with group it works fine but i am not to access the same table in my map application where i am using fusion layer API

insertPermission(drive, tableid, "[email protected]","group", "writer");

But when i try same piece of code to insert permission with anyone i get response back with 500 (internal server error )

insertPermission(drive, tableid, "[email protected]","anyone", "writer");

I prime aim is to use the data in the fusion table in my service account in my Map application .


Solution

  • You cannot have write permission with anyone to access .I tried with insertPermission(drive, tableid, "[email protected]","anyone", "reader"); and it worked fine with me and i was able to populate that in the map as well.