stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MediaError

AdminTypes.MediaError interface

Represents a media error. This typically occurs when there is an issue with the media itself causing it to fail validation. Check the media before attempting to upload again.

Signature:

export interface MediaError 

Properties

Property Modifiers Type Description
code   MediaErrorCode | `${MediaErrorCode}` Code representing the type of error.
details?   Maybe<Scalars[‘String’][‘output’]> (Optional) Additional details regarding the error.
message   Scalars[‘String’][‘output’] Translated error message.