415 is the appropriate HTTP error code to use here, I think.