I got the 50000 error also on a SQL Agent Job. In my case Step 2 | Advanced | On success action drop down was 'Quit the job reporting failure'. Something easily overlooked and correct. This may be a good April 1st trick provided your stakeholders have a sense of humor.