Author error & url set error was corrected by storing them before checking for status code