Hi , I am using Google Drive API and i want to delete files of "Share with me" folder.this is my code ////////////////////////////////
public void DeleteFile(string fileID, DriveService service)
{
var fileId = fileID; //"0BwwA4oUTeiV1UVNwOHItT0xfa2M";
var request = service.Files.Delete(fileId);
var file = request.Execute();
}
////////////////////////////// this code is give a error 403 Permission error How we solve .... Thanks in Advance please don't give a link ..Thanku

Joginder BangerRank #360 · 7K reputationPosted Feb 17, 2017, 7:15 AM EST
krishna kanhaiya191 reputationPosted Feb 17, 2017, 6:22 PM EST
Cassie ModRank #3,821 · 387 reputationPosted Feb 20, 2017, 1:47 AM EST
saddamhusen luhar99 reputationPosted Feb 1, 2018, 8:10 PM EST
Error: redirect_uri_mismatch
The redirect URI in the request, http://localhost:59157/authorize/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/1021808517984-b47469c03c8f24hdnmercch5l4oa0p7c.apps.googleusercontent.com?project=1021808517984
saddamhusen luhar99 reputationPosted Feb 6, 2018, 5:28 PM EST
Error: redirect_uri_mismatch