Fixed an issue where the API does not handle object construction exceptions, returning blank responses