400 is error - should be returning 500 which is not found