Skip to main content
Anchor to EnvironmentVariablesUserError

EnvironmentVariablesUserError

object

Requires Request must be initiated from the Shopify CLI and user must have full access to apps or access to the Hydrogen channel.

Errors that can happen when interacting with environment variables.

•EnvironmentVariablesUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Replaces a given environment's variables.

Arguments

•ID!required

The environment ID for which the variables will be set.

Anchor to environmentVariablesInputenvironmentVariablesInput
•[HydrogenStorefrontEnvironmentVariableInput!]!required

An array of objects, each representing an environment variable to be created.

•ID!required

The ID of the storefront.


Fields

•[EnvironmentVariablesUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?