Why wouldn't you just throw a 406 Not Acceptable response or similar, something like "invalid value for format parameter" if my memory of other API methods is clear.