Changed response code to return unknown rather than exception