func IsInvalidArgument(err error) bool {
	return errorutils.IsInvalidArgument(err)
}
IsInvalidArgument checks if the given error was due to an invalid instance ID argument.

Deprecated. Use errorutils.IsInvalidArgument() function instead.
package iid
import (
	"context"
	"errors"
	"fmt"
	"net/http"
	"strings"
	"firebase.google.com/go/v4/errorutils"
	"firebase.google.com/go/v4/internal"
)
const iidEndpoint = "https://console.firebase.google.com/v1"
var errorMessages = map[int]string{
	http.StatusBadRequest:          "malformed instance id argument",
	http.StatusUnauthorized:        "request not authorized",
	http.StatusForbidden:           "project does not match instance ID or the client does not have sufficient privileges",
	http.StatusNotFound:            "failed to find the instance id",
	http.StatusConflict:            "already deleted",
	http.StatusTooManyRequests:     "request throttled out by the backend server",
	http.StatusInternalServerError: "internal server error",
	http.StatusServiceUnavailable:  "backend servers are over capacity",
}