Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

OneDrive / WinDrive - Client_Secret

 Post Reply Post Reply
Author
Blackwell Simon View Drop Down
New Member
New Member
Avatar

Joined: 07 Dec 2010
Posts: 3
Post Options Post Options   Quote Blackwell Simon Quote  Post ReplyReply Direct Link To This Post Topic: OneDrive / WinDrive - Client_Secret
    Posted: 29 Dec 2018 at 7:43pm
Hello, 

Is there a reason why the 

// + 'client_secret=' + UrlEncode(App.Secret) + lf

is commented out in both the CloudWinLive (183) and CloudCustomWinLive (800). If I leave the comments then log-in fails and I can't upload/download files. 

Once the comments are removed and recompiled, I can upload and download files without an issue. 

Is there a setting when setting up a client ID and secret with OneDrive that is meant to be set, so the client_secret value does not need to be sent. 

Many thanks
Simon

PS: I did uninstall the cloud-pack and re-install, to make sure it wasn't something I had done previously, but the comment-out appears to be there by default. 

Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8590
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 31 Dec 2018 at 12:58pm
I have retested this here (with code as-is, i.e. this code in comment) and I cannot see a problem here when accessing my OneDrive account with the CloudStorage demo.
I checked this, and this code is already in comment for at least the past 2 years.
Did you test with our demo?
Back to Top
Simon Blackwell View Drop Down
New Member
New Member
Avatar

Joined: 06 Jul 2010
Posts: 3
Post Options Post Options   Quote Simon Blackwell Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jan 2019 at 5:27pm
Hello, 

If I run the cloud-storage demo with the lines commented out and my app key and secret key it does nothing, no folders are retrieved. 

If I then remove the comments, and run again the folders are displayed.

Thanks
Simon

Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8590
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jan 2019 at 5:40pm
I cannot see a problem here with the code as-is.
Please enable logging and send us the log file for a session where something goes wrong so we can inspect.
Back to Top
Blackwell Simon View Drop Down
New Member
New Member
Avatar

Joined: 07 Dec 2010
Posts: 3
Post Options Post Options   Quote Blackwell Simon Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jan 2019 at 7:11pm
Hi, 

This is the detailed log when the client_Service line is commented out 

20190101T125918:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=EwAoA61DBAAUcSSzoTJJsy+XrnQXgAKO5cj4yc8AAQEQQRNE5k4a/zjdW1PDA7JYn0RR567pgAkaCwalDKMcz5qRzP1QLXxmtCzKqoux6QPE+q3R/i1W/XEsA494xv6879ymum+9Hs/o/fyy7KTJHhCQCx5LHHY60+ul+f8OHrDxYuJsCcwFWtxFWI9nME8xbFfI4fG/RuMjeim7I+dqTdd71CAKQEZyHkzKscwkPfS+Wm5BG4/bm+P2I9CEFBrJJKGC4v8CoYXg7gDYiVVdF/HN9OehavP5NpRKZO+tUUOF2zTCzMAB/BXSxOW0m4fbIloGV8eYl2Eu9pGF/A3U/dwT+5tv9IiZY5hRS49ydYMb5FPz7LwfL07uF8LzMaYDZgAACG71pheGmcDk+AEm9yM0lLUHErfndAg1mjalgRbUeyMoBsncy/owVGjJXN6RhFU9qEdKTiBeHhxfsjQRzsVLoO6oy70G9enCexhJCUqIhqgcwAfeKRxEqxjb7lbXeFbwnkylxtgPAYRGKslvA6BBf63z74XGpYX+ERsnKaG6x07D+M0Hr2HodKnrzGaz2s3bSWAhAzaoHFTLKrT8M3IeasmQCEEF2vyjIjfm3pw0PRHec/7raJKA/6v2cuQgWnXIAH2nOc5IuqOnX1kIrDK6eWY5cESzfqVXe+CQnt/cKXZlTJp8G04eqC8igimjdG6mCoASG5lwjBWwbZFz32MZqzfk20RINaA9PTxMhdfVwmn4BCAjAfAxOhQjtcGSLfLmp9D36rN6rU9ir1ipNcPa/8JkgXx9JKTJjIBh5Ijow6UUuOe38r5E1nFEWn70TykqhB+1cU9j55y/ODlM0UTXxu9WFpjetwzXomf8dHJXiDmNNUCp8DWusfveIH9QJyLI5Vuefjpa63EOoUqpH/BIffErT3IHpitNjQJ4lS0pk2NG0xIyNPQx9uK3aMQq67X7eY7xUQhDPL+rWIlwEzF6IAIkIT5wGCp+gQkEkd2378+F2C7mI1Uqr2bdG3QN3usgEm5v8AukXYwAI+SE4qKoTa6fbabazV41hCXdTIwn1DJPAFsqAg==
20190101T125920:HTTPS GET RESULT:{"error":{"code":"unauthenticated","message":"Must be authenticated to use '/drive' syntax"}}
20190101T125920:HTTPS POST: login.live.com/oauth20_token.srf
20190101T125920:HTTPS POST RES:400
20190101T125920:HTTPS POST RESULT:{"error":"invalid_client","error_description":"The provided request must include a 'client_secret' input parameter."}
20190101T125920:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=EwAoA61DBAAUcSSzoTJJsy+XrnQXgAKO5cj4yc8AAQEQQRNE5k4a/zjdW1PDA7JYn0RR567pgAkaCwalDKMcz5qRzP1QLXxmtCzKqoux6QPE+q3R/i1W/XEsA494xv6879ymum+9Hs/o/fyy7KTJHhCQCx5LHHY60+ul+f8OHrDxYuJsCcwFWtxFWI9nME8xbFfI4fG/RuMjeim7I+dqTdd71CAKQEZyHkzKscwkPfS+Wm5BG4/bm+P2I9CEFBrJJKGC4v8CoYXg7gDYiVVdF/HN9OehavP5NpRKZO+tUUOF2zTCzMAB/BXSxOW0m4fbIloGV8eYl2Eu9pGF/A3U/dwT+5tv9IiZY5hRS49ydYMb5FPz7LwfL07uF8LzMaYDZgAACG71pheGmcDk+AEm9yM0lLUHErfndAg1mjalgRbUeyMoBsncy/owVGjJXN6RhFU9qEdKTiBeHhxfsjQRzsVLoO6oy70G9enCexhJCUqIhqgcwAfeKRxEqxjb7lbXeFbwnkylxtgPAYRGKslvA6BBf63z74XGpYX+ERsnKaG6x07D+M0Hr2HodKnrzGaz2s3bSWAhAzaoHFTLKrT8M3IeasmQCEEF2vyjIjfm3pw0PRHec/7raJKA/6v2cuQgWnXIAH2nOc5IuqOnX1kIrDK6eWY5cESzfqVXe+CQnt/cKXZlTJp8G04eqC8igimjdG6mCoASG5lwjBWwbZFz32MZqzfk20RINaA9PTxMhdfVwmn4BCAjAfAxOhQjtcGSLfLmp9D36rN6rU9ir1ipNcPa/8JkgXx9JKTJjIBh5Ijow6UUuOe38r5E1nFEWn70TykqhB+1cU9j55y/ODlM0UTXxu9WFpjetwzXomf8dHJXiDmNNUCp8DWusfveIH9QJyLI5Vuefjpa63EOoUqpH/BIffErT3IHpitNjQJ4lS0pk2NG0xIyNPQx9uK3aMQq67X7eY7xUQhDPL+rWIlwEzF6IAIkIT5wGCp+gQkEkd2378+F2C7mI1Uqr2bdG3QN3usgEm5v8AukXYwAI+SE4qKoTa6fbabazV41hCXdTIwn1DJPAFsqAg==
20190101T125920:HTTPS GET RESULT:{"error":{"code":"unauthenticated","message":"Must be authenticated to use '/drive' syntax"}}
20190101T125930:HTTPS POST: login.live.com/oauth20_token.srf
20190101T125930:HTTPS POST RES:400
20190101T125930:HTTPS POST RESULT:{"error":"invalid_client","error_description":"The provided request must include a 'client_secret' input parameter."}

This is the log file when the client_secret is re-instated and I get folders. 

20190101T130108:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=
20190101T130109:HTTPS GET RESULT:<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>OneDrive</title></head><body><div id='content'><div id='message'><h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='errorref'><span>Ref A: DCBF5FA844C64B478A9318E67DB8A19C Ref B: CHGEDGE0710 Ref C: 2019-01-01T18:01:09Z</span></div></div></body></html>
20190101T130109:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=
20190101T130109:HTTPS GET RESULT:<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>OneDrive</title></head><body><div id='content'><div id='message'><h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='errorref'><span>Ref A: 62FBDF6423BE44BE8C97317D79789E88 Ref B: CHGEDGE1308 Ref C: 2019-01-01T18:01:09Z</span></div></div></body></html>
20190101T130120:HTTPS POST: login.live.com/oauth20_token.srf
20190101T130120:HTTPS POST RES:400
20190101T130120:HTTPS POST RESULT:{"error":"invalid_client","error_description":"The provided request must include a 'client_secret' input parameter."}
20190101T130228:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=
20190101T130229:HTTPS GET RESULT:<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>OneDrive</title></head><body><div id='content'><div id='message'><h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='errorref'><span>Ref A: 847474BA21224DEFA6D03EA191233D8D Ref B: CHGEDGE1013 Ref C: 2019-01-01T18:02:30Z</span></div></div></body></html>
20190101T130229:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=
20190101T130230:HTTPS GET RESULT:<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body {font-family:Arial; margin-left:40px; }img  { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p  { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>OneDrive</title></head><body><div id='content'><div id='message'><h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p></div><div id='errorref'><span>Ref A: C70E0450F9414ABBA9F9B97F88EBFD55 Ref B: CHGEDGE1315 Ref C: 2019-01-01T18:02:30Z</span></div></div></body></html>
20190101T130242:HTTPS POST: login.live.com/oauth20_token.srf
20190101T130242:HTTPS POST RES:200
20190101T130242:HTTPS POST RESULT:{"token_type":"bearer","expires_in":3600,"scope":"wl.signin wl.basic wl.offline_access wl.skydrive wl.skydrive_update","access_token":"EwAoA61DBAAUcSSzoTJJsy+XrnQXgAKO5cj4yc8AAS+s2YSOAAj2/Ro/2DN4k6NkhQA4jkzbo2aX/E3ozGzwmEQHmSfuKtSezStHcNuLRvKJWSagD6Mrfb8rCJXB8ZmbIKsM3P4QXWeNbN/dt2v/+daTh+kWclcTihvvRErvqOYb1/v6wxrObZp+WJ2eTk0R+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CbnPjQF6S4xyHSKgkpCYb39etsFTSNXAgypwNwPURkew38/zymBRap1fLFlyGwA+iktYz74bCVtngXpuH1LImVWMkQQCwoPvmXVfqsqaYbZMN4b+mteNeghn5Wjrp568bdrPGYdB1SeuNc3TzriCQ7pj3iBOq/gFIUIfkhlXKm1FrTwgjsZm+qK0tLzpim2oxU898SYoBpRpw2atf2J4Md1YTnNag1WCh8voj4Uh5OZktzRVz/p3ErLOCrTiWQhh+p1ejp+NVPuWiIseJGl/zofdx377CIaybYkAizERSHNX+5uNacnFJbGjxRg06IlGwY8Gwa/JkIcdlIJoS/Y9G0AqAg==
20190101T130300:HTTPS GET RESULT:{"@odata.context":"https://api.onedrive.com/v1.0/$metadata#drives('me')/items('root')/children","value":[{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.637Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExNC42MzY4MTEwNTM0MjU2MDAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTQuMA","id":"FF25187ACF891CA7!114","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-12-22T19:55:42.56Z","name":"Documents","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":4234749,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cg","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.637Z","lastModifiedDateTime":"2012-10-16T03:06:40.637Z"},"folder":{"childCount":3,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"specialFolder":{"name":"documents"}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2017-01-04T13:48:40.733Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMTYuNjM2MTkxMzQ1MjA3MzMwMDAw","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTE2LjA","id":"FF25187ACF891CA7!1116","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2017-01-04T13:48:40.733Z","name":"Email attachments","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_iFw","fileSystemInfo":{"createdDateTime":"2017-01-04T13:48:40.733Z","lastModifiedDateTime":"2017-01-04T13:48:40.733Z"},"folder":{"childCount":0,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"specialFolder":{"name":"attachments"}},{"createdBy":{"application":{"displayName":"OneDrive website","id":"44048800"},"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2018-12-21T23:29:22.83Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITEzNDMuNjM2ODE3MzUxMjY3MzAwMDAw","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMzQzLjE","id":"FF25187ACF891CA7!1343","lastModifiedBy":{"application":{"displayName":"OneDrive website","id":"44048800"},"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-12-30T02:52:06.73Z","name":"PDi Spirit","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_ij8","fileSystemInfo":{"createdDateTime":"2018-12-21T23:29:22.83Z","lastModifiedDateTime":"2018-12-22T19:52:58.713Z"},"folder":{"childCount":1,"folderView":{"viewType":"thumbnails","sortBy":"takenOrCreatedDateTime","sortOrder":"ascending"}}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.383Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMi42MzY3NDIxNjQ5NDA3NzAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTIuMA","id":"FF25187ACF891CA7!112","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-10-04T02:21:34.077Z","name":"Pictures","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cA","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.383Z","lastModifiedDateTime":"2012-10-16T03:06:40.383Z"},"folder":{"childCount":1,"folderView":{"viewType":"thumbnails","sortBy":"takenOrCreatedDateTime","sortOrder":"ascending"}},"specialFolder":{"name":"photos"}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.47Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMy42MzQ4NTk1MzYwMDQ3MDAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTMuMA","id":"FF25187ACF891CA7!113","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2012-10-16T03:06:40.47Z","name":"Public","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cQ","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.47Z","lastModifiedDateTime":"2012-10-16T03:06:40.47Z"},"folder":{"childCount":0,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"shared":{"effectiveRoles":["read"],"owner":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"scope":"anonymous"},"specialFolder":{"name":"public"}}]}
20190101T130431:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root?access_token=EwAoA61DBAAUcSSzoTJJsy+XrnQXg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.onedrive.com/v1.0/$metadata#drives('me')/items/$entity","createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:39.937Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMS42MzY4MTczNTEyNjczMDAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTEuMA","id":"FF25187ACF891CA7!111","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-12-30T02:52:06.73Z","name":"root","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal"},"size":4234749,"webUrl":"https://onedrive.live.com/?cid=ff25187acf891ca7","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:39.937Z","lastModifiedDateTime":"2012-10-16T03:06:39.937Z"},"folder":{"childCount":0,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"root":{}}
20190101T130432:HTTPS GET: https://api.onedrive.com/v1.0/drive/items/root/children?access_token=EwAoA61DBAAUcSSzoTJJsy+XrnQXgAKO5cj4yc8AAS+s2YSOAAj2/Ro/2DN4k6NkhQA4jkzbo2aX/E3ozGzwmEQHmSfuKtSezStHcNuLRvKJWSagD6Mrfb8rCJXB8ZmbIKsM3P4QXWeNbN/dt2v/+daTh+kWclcTihvvRErvqOYb1/v6wxrObZp+WJ2eTk0R+c+dpBNy14dwQMMo/v7NRAajoman4O2cV48aIcIjIAGS1smLh5d3Yy7dquAtRmuhsuKdFLmPAzP0gjenWSccgmeaGhRlN+HYTQ0A9wbYFzBzVUYxahQ4VcdVvP4mpBo9HfJHyKUxp+McqAHI5zyObYivcYgbNH9P5ImD2Z5S9n8vbJNpdKW+ylreCvNVxw0DZgAACMvyp9p8A/MT+AExTajJSqyQ03FxEnAQoL3fRuqjfjgIJBrwQ1axk0+870b2xtLYZXtb+gmIRzh1olqXu5ndv86+t/tRXlk1qpdjUisw3c5y9jZiMyQkpVI/uqBMyyBoq6UQIeXrE98f6ecdsqVeOLSZFo4peFknOnZabPnlJO2opPkx/E1i1vQP0rwc8oE/ShsgJQgnA0t5RLg+rhGiH/2ISlw+wLN3xuw3xxSQAuBHlsDuAgvIvWebmOutuO6xHBKdrAuToXLOgb7YLEyL+7ja0h3OnkkFPgcV1/swUNuAVaH3MmsJr8Wn6AlJ7qVHKhVjLvVGIbv+TKvmysMbEwT1CbnPjQF6S4xyHSKgkpCYb39etsFTSNXAgypwNwPURkew38/zymBRap1fLFlyGwA+iktYz74bCVtngXpuH1LImVWMkQQCwoPvmXVfqsqaYbZMN4b+mteNeghn5Wjrp568bdrPGYdB1SeuNc3TzriCQ7pj3iBOq/gFIUIfkhlXKm1FrTwgjsZm+qK0tLzpim2oxU898SYoBpRpw2atf2J4Md1YTnNag1WCh8voj4Uh5OZktzRVz/p3ErLOCrTiWQhh+p1ejp+NVPuWiIseJGl/zofdx377CIaybYkAizERSHNX+5uNacnFJbGjxRg06IlGwY8Gwa/JkIcdlIJoS/Y9G0AqAg==
20190101T130432:HTTPS GET RESULT:{"@odata.context":"https://api.onedrive.com/v1.0/$metadata#drives('me')/items('root')/children","value":[{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.637Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExNC42MzY4MTEwNTM0MjU2MDAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTQuMA","id":"FF25187ACF891CA7!114","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-12-22T19:55:42.56Z","name":"Documents","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":4234749,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cg","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.637Z","lastModifiedDateTime":"2012-10-16T03:06:40.637Z"},"folder":{"childCount":3,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"specialFolder":{"name":"documents"}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2017-01-04T13:48:40.733Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMTYuNjM2MTkxMzQ1MjA3MzMwMDAw","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTE2LjA","id":"FF25187ACF891CA7!1116","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2017-01-04T13:48:40.733Z","name":"Email attachments","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_iFw","fileSystemInfo":{"createdDateTime":"2017-01-04T13:48:40.733Z","lastModifiedDateTime":"2017-01-04T13:48:40.733Z"},"folder":{"childCount":0,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"specialFolder":{"name":"attachments"}},{"createdBy":{"application":{"displayName":"OneDrive website","id":"44048800"},"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2018-12-21T23:29:22.83Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITEzNDMuNjM2ODE3MzUxMjY3MzAwMDAw","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMzQzLjE","id":"FF25187ACF891CA7!1343","lastModifiedBy":{"application":{"displayName":"OneDrive website","id":"44048800"},"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-12-30T02:52:06.73Z","name":"PDi Spirit","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_ij8","fileSystemInfo":{"createdDateTime":"2018-12-21T23:29:22.83Z","lastModifiedDateTime":"2018-12-22T19:52:58.713Z"},"folder":{"childCount":1,"folderView":{"viewType":"thumbnails","sortBy":"takenOrCreatedDateTime","sortOrder":"ascending"}}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.383Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMi42MzY3NDIxNjQ5NDA3NzAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTIuMA","id":"FF25187ACF891CA7!112","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2018-10-04T02:21:34.077Z","name":"Pictures","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cA","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.383Z","lastModifiedDateTime":"2012-10-16T03:06:40.383Z"},"folder":{"childCount":1,"folderView":{"viewType":"thumbnails","sortBy":"takenOrCreatedDateTime","sortOrder":"ascending"}},"specialFolder":{"name":"photos"}},{"createdBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"createdDateTime":"2012-10-16T03:06:40.47Z","cTag":"adDpGRjI1MTg3QUNGODkxQ0E3ITExMy42MzQ4NTk1MzYwMDQ3MDAwMDA","eTag":"aRkYyNTE4N0FDRjg5MUNBNyExMTMuMA","id":"FF25187ACF891CA7!113","lastModifiedBy":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"lastModifiedDateTime":"2012-10-16T03:06:40.47Z","name":"Public","parentReference":{"driveId":"ff25187acf891ca7","driveType":"personal","id":"FF25187ACF891CA7!111","path":"/drive/root:"},"size":0,"webUrl":"https://1drv.ms/f/s!AKccic96GCX_cQ","fileSystemInfo":{"createdDateTime":"2012-10-16T03:06:40.47Z","lastModifiedDateTime":"2012-10-16T03:06:40.47Z"},"folder":{"childCount":0,"folderView":{"viewType":"thumbnails","sortBy":"name","sortOrder":"ascending"}},"shared":{"effectiveRoles":["read"],"owner":{"user":{"displayName":"Simon Blackwell","id":"ff25187acf891ca7"}},"scope":"anonymous"},"specialFolder":{"name":"public"}}]}

Thanks
Simon

Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8590
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jan 2019 at 10:22pm
Can you please send the log files as files via email and log to two different files and make sure they contain the full session data. 
I cannot see that the line
20190101T125930:HTTPS POST RESULT:{"error":"invalid_client","error_description":"The provided request must include a 'client_secret' input parameter."}

would be the last line of the first session.
Please make also sure to log from our demo so we can compare with the log from the cloudstorage demo here.
Back to Top
Marc SPRIT View Drop Down
New Member
New Member
Avatar

Joined: 31 May 2019
Posts: 7
Post Options Post Options   Quote Marc SPRIT Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jun 2019 at 3:10pm
Hello

I have the same issue with FMX version. With these 2 lines in comments, access to OneDrive don't work. If I uncomment these 2 lines, it runs perfectly.

What's about ??
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2192
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 03 Jun 2019 at 1:49pm
Hi,

Can you please make sure to correctly follow instructions indicated on the page linked below?

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down