Hemps Posted April 11, 2022 Share #101 Posted April 11, 2022 I just get 103 false, on 7.0.1-42218 Tried all the workarounds, =cookie as well. Clean browser etc Changed password Quote Link to comment Share on other sites More sharing options...
Hemps Posted April 12, 2022 Share #102 Posted April 12, 2022 Got it working: https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie at the end leave a space between format =cookie so dont use format=cookie, rather format= cookie https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno 3 4 Quote Link to comment Share on other sites More sharing options...
phone guy Posted April 12, 2022 Share #103 Posted April 12, 2022 Does anyone know if there is a command like this for Advanced media extension? (7.1-42661) 2 Quote Link to comment Share on other sites More sharing options...
petr_z Posted April 19, 2022 Share #104 Posted April 19, 2022 В 12.04.2022 в 17:00, Hemps сказал: Got it working: https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie at the end leave a space between format =cookie so dont use format=cookie, rather format= cookie https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno Works on 7.1-42661, thanks! Quote Link to comment Share on other sites More sharing options...
Carl10 Posted April 20, 2022 Share #105 Posted April 20, 2022 Has anyone been able to get this to work on Active Backup Microsoft 365? I have used the above method successfully for the Standard version of backup but can't get this working. I have tried replacing the phrase ActiveBackup with: activebackupforoffice365 activebackup-office365 activebackupoffice365 in the activation url but keep getting error 102 (unknown API) ......ActiveBackup.Activation&method=set&version=1...... I got these variations from the activation window of the actual package. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Piteball Posted April 20, 2022 Share #106 Posted April 20, 2022 Has anyone been able to get this to work on Active Backup Microsoft 365? I have used the above method successfully for the Standard version of backup but can't get this working. I have tried replacing the phrase ActiveBackup with: activebackupforoffice365 activebackup-office365 activebackupoffice365 in the activation url but keep getting error 102 (unknown API) ......ActiveBackup.Activation&method=set&version=1...... I got these variations from the activation window of the actual package. Any help would be appreciated.This is what worked for me. Replace ADDRESS, DEVICESERIALNUMBER and port number if you use non default ports. Authentication https://ADDRESS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&format=cookieActivate Active Backup 365 https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"Activate Active Backup G-Suitehttps://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER"Skickat från min LE2113 via Tapatalk 2 Quote Link to comment Share on other sites More sharing options...
Carl10 Posted April 20, 2022 Share #107 Posted April 20, 2022 9 hours ago, Piteball said: YNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="D Thanks @Piteball! I was using "......activebackupoffice365.activation@method...." instead of just "...activebackupoffice365&method....." I just needed to drop the ".activation" and all was good. Appreciate the help. Quote Link to comment Share on other sites More sharing options...
Nuttawat_t Posted June 22, 2022 Share #108 Posted June 22, 2022 need help after try on this method, Task List and Activities are empty On 4/20/2022 at 11:43 AM, Piteball said: This is what worked for me. Replace ADDRESS, DEVICESERIALNUMBER and port number if you use non default ports. Authentication https://ADDRESS:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=USERNAME&passwd=PASSWORD&format=cookie Activate Active Backup 365 https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupOffice365&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER" Activate Active Backup G-Suite https://ADDRESS:5001/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=set_activation&version=1&serial_number="DEVICESERIALNUMBER" Skickat från min LE2113 via Tapatalk Quote Link to comment Share on other sites More sharing options...
AleAmadoC Posted August 23, 2022 Share #109 Posted August 23, 2022 On 12/29/2020 at 9:11 AM, vortexxx said: its work, but you need make: 1 - login on DSM, in browser address line, after https://youripsyno:5001/ paste /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=USER&passwd=PASS and ENTER. efter ENTER you see {"success":true} 2- after https://youripsyno:5001/ paste /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" after ENTER you see {"data":{"activated":true},"success":true} 3 - if you want verefy after https://youripsyno:5001/ paste /webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=get&version=1 after ENTER if it OK you see {"data":{"activated":true,"serial_number":"SERIALNUMBER"},"success":true} I try paste complete address from forum, not work, but my metod work fine, not close page. Thank you this worked prefect for me, Be aware, I was writing in the serial number the activation request number and was giving me error for obvious reasons, so I went to the info center and copy pasted the serial number and Wala, worked. This is on xpenology DSM 6.2.3-25426 Update 3 Package version 2.4.1-2321 Best regards Quote Link to comment Share on other sites More sharing options...
beefyjoe Posted August 26, 2022 Share #110 Posted August 26, 2022 On 4/12/2022 at 4:00 AM, Hemps said: Got it working: https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie at the end leave a space between format =cookie so dont use format=cookie, rather format= cookie https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno Thank you, changing the url for step 1 to include the "version=3" and "format=cookie" fixed the problem where i was getting failed activation. I was then able to use step 2 and 3 url from original solution to activate and verify, no more activation prompt. Thanks! Quote Link to comment Share on other sites More sharing options...
juannet Posted August 26, 2022 Share #111 Posted August 26, 2022 Funciona a las mil maravillas. ¡Muchas gracias! Quote Link to comment Share on other sites More sharing options...
vortexxx Posted September 26, 2022 Share #112 Posted September 26, 2022 Got it working: https://ip:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=username&passwd=password&format=%20cookie at the end leave a space between format =cookie so dont use format=cookie, rather format= cookie https://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=serialno works fine thanks Quote Link to comment Share on other sites More sharing options...
vortexxx Posted October 14, 2022 Share #113 Posted October 14, 2022 Not work with dsm 7.1.1-42962, but work with 7.1-42661 on latest is {"error":{"code":104},"success":false} Quote Link to comment Share on other sites More sharing options...
Pandadoo Posted October 14, 2022 Share #114 Posted October 14, 2022 in fact, it's working in 7.1.1 42962, but i had similar issue than you. The only way i was able to make it work is to use fake serial number, get the false result THEN use your true serial number. That worked for me. Quote Link to comment Share on other sites More sharing options...
MajkelP Posted October 17, 2022 Share #115 Posted October 17, 2022 I can confirm that on DSM 7.1.1-42962 Update 1 above activation method with serial no. doesn't work. https://myIP:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="myserial_no" Quote Link to comment Share on other sites More sharing options...
vortexxx Posted October 19, 2022 Share #116 Posted October 19, 2022 real on DSM 7.1-42661 Update 4 works, later DSM - error Quote Link to comment Share on other sites More sharing options...
HorstHoden Posted October 20, 2022 Share #117 Posted October 20, 2022 (edited) I *had* no luck on the latest DSM 7.1.1-42962 Update 1. But in the end this is how it worked on my side When i follow the suggested steps in here i can get the auth cookie (no matter if with or without a space in the url which makes no difference on my side) I tried it in initially with *firefox* MYIP = your xpenology IP MYUSER = the user on the synology MYPASSWORD = the password on the synology MYXPENOLOGYSERIAL = the serial as copied from the control panel info about https://MYIP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=MYUSER&passwd=MYPASSWORD&format=cookie { "data": { "did": "somecrypticpayload", "sid": "anothercrypticpayload" }, "success": true } https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL { "error": { "code": 119 }, "success": false } From the offical documenation it says 119 SID not found https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf So i assumed the auth information is not passed from the first to the second request in firefox. So i tried it in chrome and *voila* { "data": { "activated": true }, "success": true } *Cheers* 🍻 Edited October 20, 2022 by HorstHoden 5 Quote Link to comment Share on other sites More sharing options...
boghea Posted October 21, 2022 Share #118 Posted October 21, 2022 @HorstHoden - thank you for finding the solution - It worked on Chrome Quote Link to comment Share on other sites More sharing options...
MajkelP Posted October 21, 2022 Share #119 Posted October 21, 2022 (edited) @HorstHoden - good point, in google chrom did it work, but I had to turn off 2FA and YubiKey. Edited October 21, 2022 by MajkelP Quote Link to comment Share on other sites More sharing options...
fastchip Posted October 30, 2022 Share #120 Posted October 30, 2022 В 20.10.2022 в 13:54, HorstHoden сказал: { "error": { "code": 119 }, "success": false } Спасибо!!! Сработало! Quote Link to comment Share on other sites More sharing options...
tsauf Posted October 31, 2022 Share #121 Posted October 31, 2022 (edited) К сожалению никак не работает даже в Хроме, версия 7.1.1-42962 Update 1. Второй пункт не выполняется, пишет {"error":{"code":119},"success":false} Edited October 31, 2022 by tsauf Quote Link to comment Share on other sites More sharing options...
nthkmf Posted November 1, 2022 Share #122 Posted November 1, 2022 On 10/20/2022 at 5:54 PM, HorstHoden said: I *had* no luck on the latest DSM 7.1.1-42962 Update 1. But in the end this is how it worked on my side When i follow the suggested steps in here i can get the auth cookie (no matter if with or without a space in the url which makes no difference on my side) I tried it in initially with *firefox* MYIP = your xpenology IP MYUSER = the user on the synology MYPASSWORD = the password on the synology MYXPENOLOGYSERIAL = the serial as copied from the control panel info about https://MYIP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=MYUSER&passwd=MYPASSWORD&format=cookie { "data": { "did": "somecrypticpayload", "sid": "anothercrypticpayload" }, "success": true } https://MYIP:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=MYXPENOLOGYSERIAL { "error": { "code": 119 }, "success": false } From the offical documenation it says 119 SID not found https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/FileStation/All/enu/Synology_File_Station_API_Guide.pdf So i assumed the auth information is not passed from the first to the second request in firefox. So i tried it in chrome and *voila* { "data": { "activated": true }, "success": true } *Cheers* 🍻 This works for me. I tried on Firefox and it done. Thank you very much. Quote Link to comment Share on other sites More sharing options...
tsauf Posted November 6, 2022 Share #123 Posted November 6, 2022 (edited) В общем, сработала у меня тоже активация, через смартфон активировал. На компьютере, наверное, какие-то расширения препятствовали успешному прохождению второго пункта. Edited November 6, 2022 by tsauf Quote Link to comment Share on other sites More sharing options...
-iliya- Posted November 12, 2022 Share #124 Posted November 12, 2022 maybe can activate Presto File Server by this method? Quote Link to comment Share on other sites More sharing options...
EmmaC Posted December 9, 2022 Share #125 Posted December 9, 2022 On 4/12/2022 at 6:00 PM, Hemps said: Due to different HTML URL encoding for different browsers, confusion arises as to why some steps are not working. If Chrome does not work, try Edge or Firefox Below are the step that works for me : Step 1 https://myIP:port/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=myUser&passwd=myPassword&format=%20cookie Step 2 https://myIP:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=%22mySerial_no.%22 myIP = your xpenology IP myUser = the admin on the synology myPassword = the password on the synology mySerial_no. = the serial as copied from the control panel info Side Note : In HTML URL encoding, space = %20 " = %22 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.