not sure if an exception is better, on the server. On an API I'd agree.