You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update client identifier and auth scopes (Issue #769) (#770)
* Update the client identifier to 'd50ca740-c83f-4d1b-b616-12c519384f0c'
* Update User Agent identifier to comply with OneDrive traffic decoration requirements
* Provide 'config' file option to modify / update client identifier to override application default
Copy file name to clipboardExpand all lines: src/sync.d
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ final class SyncEngine
290
290
if (e.httpStatusCode ==401) {
291
291
// HTTP request returned status code 401 (Unauthorized)
292
292
log.error("\nERROR: OneDrive returned a 'HTTP 401 Unauthorized' - Cannot Initialize Sync Engine");
293
-
log.error("ERROR: Check your configuration as your access token may be empty or invalid\n");
293
+
log.error("ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --logout and re-authorise this client.\n");
294
294
// Must exit here
295
295
exit(-1);
296
296
}
@@ -329,7 +329,7 @@ final class SyncEngine
329
329
if (e.httpStatusCode ==401) {
330
330
// HTTP request returned status code 401 (Unauthorized)
331
331
log.error("\nERROR: OneDrive returned a 'HTTP 401 Unauthorized' - Cannot Initialize Sync Engine");
332
-
log.error("ERROR: Check your configuration as your access token may be empty or invalid\n");
332
+
log.error("ERROR: Check your configuration as your refresh_token may be empty or invalid. You may need to issue a --logout and re-authorise this client.\n");
0 commit comments