WARNING: Missing Session key even after disabling ?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
real_per
Newbie
Newbie
Posts: 6
Joined: May 18th, 2008, 4:14 pm

WARNING: Missing Session key even after disabling ?

Post by real_per »

After updating Sab to 5.3 my old userscript i use in Opera no longer works.
I've tried to disable the API key, and restarting, but I still get the error.
Isn't disabling meant to make Sab not ask for the API key ?

How can I make my userscript work again ?

Userscript is here: http://userscripts.org/scripts/review/4616

I use it because it works in opera, and it does everything i want.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: WARNING: Missing Session key even after disabling ?

Post by shypike »

Did you tell your script not to send an API key anymore?
Could be that there is a small error in SABnznd so that
it complains when it receives an key while apikey is disabled.

I'm no good at Opera scripts, I'm not sure what it's supposed to do.
real_per
Newbie
Newbie
Posts: 6
Joined: May 18th, 2008, 4:14 pm

Re: WARNING: Missing Session key even after disabling ?

Post by real_per »

The script is very old, so there's no mention of API keys in there.
The link it creates looks like this:

Code: Select all

http://192.168.1.5:8585/sabnzbd/addID?id=5715802&pp=3 
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: WARNING: Missing Session key even after disabling ?

Post by shypike »

Not sure if this ever worked, if so only by accident.
The correct syntax is

Code: Select all

http://192.168.1.5:8585/sabnzbd/api?mode=addid&id=5715802&pp=3 
real_per
Newbie
Newbie
Posts: 6
Joined: May 18th, 2008, 4:14 pm

Re: WARNING: Missing Session key even after disabling ?

Post by real_per »

shypike wrote: Not sure if this ever worked, if so only by accident.
The correct syntax is

Code: Select all

http://192.168.1.5:8585/sabnzbd/api?mode=addid&id=5715802&pp=3 

If I do this, I get;

Code: Select all

error: expect one parameter
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: WARNING: Missing Session key even after disabling ?

Post by shypike »

real_per
Newbie
Newbie
Posts: 6
Joined: May 18th, 2008, 4:14 pm

Re: WARNING: Missing Session key even after disabling ?

Post by real_per »

Thanks so much!
I finally got it right..

I've been looking at the API site, but just couldn't find what i was looking for.
The script is working again.
Post Reply