This is silly, but rest-framework returns an error with a '.' at the end. Test automation validates the error responses. Rather than special case this condition, I've chosen to raise an Exception with a msg consistent with rest-framework.