API key missing, please enter the API key from Config->General

Report & discuss bugs found in 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
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

API key missing, please enter the API key from Config->General

Post by auriga1000 »

API key missing, please enter the API key from Config->General into your 3rd party program: 127.0.0.1 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36]

what's going on here? ver 4.02
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: API key missing, please enter the API key from Config->General

Post by sander »

two possibilities:

There is a hacker on your machine, using his/her Chrome to access your SAB interface
Or just restart you Chrome. If that does not help: reboot your system, and you're fine.
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

Re: API key missing, please enter the API key from Config->General

Post by auriga1000 »

rebooted, no luck
my external access set to . no.
still getting that error, 20 times and then it stops. if i delete, get another 20 error messages.
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: API key missing, please enter the API key from Config->General

Post by sander »

You rebooted your Windows, or just Sab?
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

Re: API key missing, please enter the API key from Config->General

Post by auriga1000 »

rebooted pc
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

Re: API key missing, please enter the API key from Config->General

Post by auriga1000 »

even tried beta release, still same
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: API key missing, please enter the API key from Config->General

Post by sander »

auriga1000 wrote: June 24th, 2023, 2:57 pm rebooted pc
Oh, really?! And you opened Chrome with just one tab (not with all previous tabs open again)?

It's your webbrowser, or a webbrowser plugin, or a tool masqerading as Chrome, on your local PC, trying to access SABnzbd, with a wrong API key. Does that ring a bell.

The wrong API key can happen if your webbrowser has multiple tabs open, and you restart SAB in the background.

If you rebooted you PC (and thus also your webbrowser), and you still get that error ... it's weird.
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

Re: API key missing, please enter the API key from Config->General

Post by auriga1000 »

I did have sabnzbconnect++ installed for quite some time with no issues and now suddenly today, this issue cropped up. I uninstalled the plugin, cleared cache, rebooted pc. problem still there. oh, also uninstalled chrome just in case and used edge . no change.
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: API key missing, please enter the API key from Config->General

Post by sander »

Very weird.

More hefty stuff:

Put SABnzbd on a different port than 8080. For example 8090. Via http://127.0.0.1:8080/config/general/ . Then Save. Then reboot. Then start SAB and go to ... http://127.0.0.1:8090/
auriga1000
Newbie
Newbie
Posts: 7
Joined: January 11th, 2011, 4:21 am

Re: API key missing, please enter the API key from Config->General

Post by auriga1000 »

ok! that cured it. thanks man
User avatar
sander
Release Testers
Release Testers
Posts: 9070
Joined: January 22nd, 2008, 2:22 pm

Re: API key missing, please enter the API key from Config->General

Post by sander »

auriga1000 wrote: June 25th, 2023, 6:19 am ok! that cured it. thanks man
OK, good. Now remember: SAB is now on port 8090. That works as long as you know it, or if you let SAB start the webbrowser automatically.
Post Reply