vortexxx Posted December 29, 2020 #76 Posted December 29, 2020 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. 1 Quote
WeezyMike Posted January 2, 2021 #77 Posted January 2, 2021 Ok, I am stuck on this and need some help. I was able to get his to work for active backup for business on my baremetal test bulid. All went well so I finished installing all the hardware and setup for a fresh install. Now no matter what I do I get the {"error":{"code":400},"success":false} on the first step. http://192.168.1.246:5000//webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=****&******=PASS *=protected information. What am i doing incorrectly here. cant move on until i figure out why it does not like my user and passwd. all lower case, no specials letters or numbers or anything. IDK, HELP PLEASE. Quote
flyride Posted January 2, 2021 #78 Posted January 2, 2021 (edited) If fred is your account, and pw is your password, the string looks like this: /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=fred&passwd=pw That is not what you put in the post prior. Edited January 2, 2021 by flyride Quote
WeezyMike Posted January 2, 2021 #79 Posted January 2, 2021 (edited) flyride, Thank you!! In my hours of frustrations I completely overlooked the fact that I am stupid and incorrectly edited the URL's. Followed the mistake you pointed out and BOOM, good to go. Thank you for helping me see my mistake and getting this going. {"data":{"activated":true,"serial_number":"**********"},"success":true} Edited January 2, 2021 by WeezyMike Quote
danellis12561 Posted January 22, 2021 #80 Posted January 22, 2021 Okay, been trying to get this to work for an hour or so. I can run the first line in a browser to log into the NAS and it completes successfully. However, when I try to run the activation line, it returns the following: {"error":{"code":1024,"errors":{"params":{}}},"success":false} Any insight on what I may be doing wrong? I've tried a few different serial numbers with the same results. Thanks! Quote
danellis12561 Posted January 22, 2021 #81 Posted January 22, 2021 Actually, just got it to activate. Instead of using one of the serial numbers I got from a generator or ebay pics, I tried using the serial listed in the control panel of the DSM. I thought this was the serial number of the physical box I have (Datto XL1000 4 bay NAS), but I'm guessing it may have been a generic Synology serial number from the loader or something. Quote
goodie Posted March 19, 2021 #84 Posted March 19, 2021 Having issues with this, could somebody please shed some light on the issue please? I've installed Active Backup for Business and opened the App on the diskstation and have the activate page open. I've visited a new tab and entered https://diskstation:5001/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=mydiskstationadminuser&passwd=mydiskstationadminuserpassword This responds with {"success":true} This also causes the diskstation tab to refresh and closes Active Backup for Business. I've then visited in the same tab https://diskstation:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="mydiskstationcontrolpanelserialwhicisthedefaultonefromgrub.cfg" This responds with {"error":{"code":102},"success":false} What am i doing wrong please help? Quote
Onknight Posted March 28, 2021 #85 Posted March 28, 2021 (edited) is there a way someone could a video tutorial on how to do this Unfortunately I'm a visual learner and I don't pick up things well unless it's in a video format Thanks in advance Edited March 28, 2021 by Onknight Quote
VanChle Posted July 14, 2021 #86 Posted July 14, 2021 On 12/29/2020 at 5:11 PM, 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. THANKS this Work PERFECT For me 1 Quote
SayonaRrRa Posted September 10, 2021 #87 Posted September 10, 2021 (edited) Hoppler, your tutorial worked like a charm for my DSM 6.2.3-25426 VM in proxmox PVE Edited September 10, 2021 by SayonaRrRa Quote
viper359 Posted September 17, 2021 #88 Posted September 17, 2021 Anyone know how to get the serial number? its removed from the info tab in 6.2.3 Running this as a VM Quote
imxyd Posted October 8, 2021 #89 Posted October 8, 2021 (edited) DSM 7.0.1-42214 I think DSM7 may have modified some variables so that the API cannot be obtained? https://*****.com:4920/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=*****&passwd=***** {"error":{"code":103},"success":false} https://*****.com:4920/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="1160PDN003634" {"error":{"code":105},"success":false} I adopted an emergency solution: Open the browser developer tools (F12). Use the mouse to select the "Activate ABB" DVI layer. Look up for the nested DVI layers and delete them completely. After you configure it, although the kit is not activated, it can still work continuously! Note that if you find that you cannot click the package area normally, it means that your DVI layer has not been completely deleted. Please continue to search with the mouse. 我采用了应急解决方案: 打开浏览器开发者工具(F12)。 用鼠标选中“激活ABB”DVI层。 向上寻找被嵌套的DVI层,并完整删除它们。 当你配置完毕后,虽然套件没有激活,但仍然可以持续工作! 注意,如果你发现无法正常点击该套件区域,代表着你的DVI层没有完整删除掉,请继续用鼠标寻找。 Edited October 9, 2021 by imxyd Quote
Primuslav Posted November 9, 2021 #90 Posted November 9, 2021 В 09.10.2021 в 02:01, imxyd сказал: DSM 7.0.1-42214 I think DSM7 may have modified some variables so that the API cannot be obtained? https://*****.com:4920/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=*****&passwd=***** {"error":{"code":103},"success":false} https://*****.com:4920/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="1160PDN003634" {"error":{"code":105},"success":false} I adopted an emergency solution: Open the browser developer tools (F12). Use the mouse to select the "Activate ABB" DVI layer. Look up for the nested DVI layers and delete them completely. After you configure it, although the kit is not activated, it can still work continuously! Note that if you find that you cannot click the package area normally, it means that your DVI layer has not been completely deleted. Please continue to search with the mouse. 我采用了应急解决方案: 打开浏览器开发者工具(F12)。 用鼠标选中“激活ABB”DVI层。 向上寻找被嵌套的DVI层,并完整删除它们。 当你配置完毕后,虽然套件没有激活,但仍然可以持续工作! 注意,如果你发现无法正常点击该套件区域,代表着你的DVI层没有完整删除掉,请继续用鼠标寻找。 Can you make the photo or video? Quote
le.pipo007 Posted November 25, 2021 #91 Posted November 25, 2021 hello, the api url change try this (it's working for me) https://your-ip:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie the other url (for activation) not change https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" regards 8 5 Quote
AZ3Desert Posted January 4, 2022 #93 Posted January 4, 2022 Hi, the first step of this process works for me. When I do the second step, I get the following error: {"error":{"code":102},"success":false} I am using the following command and am in DSM 6.1-15047. https://NAS IP ADDRESS:5001/webapi/auth.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="xxxxxxxxxxxx" Thanks in advance for the help! Quote
ax0r7ag0z Posted January 15, 2022 #94 Posted January 15, 2022 (edited) @AZ3Desert Try what @le.pipo007 wrote right above, it worked for me In BOLD what you should replace with your own infortmation Quote the api url change try this (it's working for me) https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie the other url (for activation) not change https://URL:PORT/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number="SERIALNUMBER" Edited January 15, 2022 by ax0r7ag0z Quote
netember Posted February 6, 2022 #95 Posted February 6, 2022 Hi! Thanks, it works for me! Baremetal 7.0.1-42218 update 2 /with tinycore-redpill loader/ testing, not production https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&account=admin&passwd=your_admin_password&format= cookie the other url (for activation) not change I'am very happy! Quote
mackuo Posted February 21, 2022 #96 Posted February 21, 2022 On 1/16/2022 at 12:50 AM, ax0r7ag0z said: @AZ3Desert Try what @le.pipo007 wrote right above, it worked for me In BOLD what you should replace with your own infortmation Works like a charm. Thank you so much! Esxi 7.0 Update 2, DSM 7.0.1-42218 Update 2 Quote
AZ3Desert Posted March 8, 2022 #97 Posted March 8, 2022 On 2/21/2022 at 6:43 AM, mackuo said: Works like a charm. Thank you so much! Esxi 7.0 Update 2, DSM 7.0.1-42218 Update 2 @mackuo, Thanks for tag me on this! I believe I may have been at too down level of a version of DSM. I'm in the process of rebuilding the system with newer code and will try again. Quote
angel038 Posted April 1, 2022 #98 Posted April 1, 2022 Hi, I'm under DSM 7.0.1 Update 3 DIY NAS with RedPill and the link doesn't work for me as you can see bellow, could you help me please? Quote
renegadeBE Posted April 2, 2022 #99 Posted April 2, 2022 Codes significations 100 Unknown error 101 Invalid parameter 102 The requested API does not exist 103 The requested method does not exist 104 The requested version does not support the functionality 105 The logged in session does not have permission 106 Session timeout107Session interrupted by duplicate login 100 Unknown error. 101 The account parameter is not specified. 400 Invalid password. 401 Guest or disabled account. 402 Permission denied. 403 One time password not specified. 404 One time password authenticate failed. 405 App portal incorrect. 406 OTP code enforced. 407 Max Tries (if auto blocking is set to true). 408 Password Expired Can not Change. 409 Password Expired. 410 Password must change (when first time use or after reset password by admin). 411 Account Locked (when account max try exc WARNING : special characters on password : read quote On 3/28/2019 at 8:11 AM, hoppler said: Hi, the user has to be in the "administrators" group and if the password contains special characters like +?%, you have to encode it first. https://meyerweb.com/eric/tools/dencoder/ Example: Username: test Password: 1+?%abc has to be encoded to: 1%2B%3F%25abc Result: https://URL:PORT/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account=test&passwd=1%2B%3F%25abc 1 Quote
phone guy Posted April 11, 2022 #100 Posted April 11, 2022 does this method work with 7.1-42661 I get no success, always fail false error code Quote
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.