Creating badge via API query works, but returns 422

You get this error if you try to create a badge that has a name that already exists.