Warning: Empty NZB file

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
tonyspin
Newbie
Newbie
Posts: 1
Joined: January 12th, 2014, 10:11 pm

Warning: Empty NZB file

Post by tonyspin »

I have searched the forums and saw this issue listed, but none of the resolutions are applicable. I am trying to create a 3rd party application that sends a newznab nzb link to sabnzbd to queue it to download. When I do this the file does not download and I get "Warning: Empty NZB file" in my sabnzbd log.

I can click on the "send to sabnzbd" link in newznab and it queues the file just fine. I can also put the newznab api call into a browser and the NZB will download just fine.

I am sending the link in the format:

Code: Select all

http://<sabnzbd URL>/sabnzbd/api?mode=addurl&apikey=<apikey>&name=https://<newznab URL>/getnzb/df8641ccxxxxxxxx18800805ae.nzb&i=1&r=<newznab apikey>
I do have my newznab server using HTTPS and am wondering if this causing an issue.

Any help would be appreciated. Thanks!
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: Warning: Empty NZB file

Post by jcfp »

Logic dictates you need to encode the newznab url. Failure to do so would make parameters such as "i" and "r" in your example link part of the sabnzbd url and/or cause the newznab url part to arrive garbled at sabnzbd.
Post Reply