---
title: CompletionErrorCode - Storefront API
description: The code of the error that occurred during a cart completion attempt.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/enums/CompletionErrorCode
  md: https://shopify.dev/docs/api/storefront/latest/enums/CompletionErrorCode.md
---

# Completion​Error​Code

enum

The code of the error that occurred during a cart completion attempt.

## Valid values

* ERROR
* INVENTORY\_​RESERVATION\_​ERROR
* PAYMENT\_​AMOUNT\_​TOO\_​SMALL
* PAYMENT\_​CALL\_​ISSUER
* PAYMENT\_​CARD\_​DECLINED
* PAYMENT\_​ERROR
* PAYMENT\_​GATEWAY\_​NOT\_​ENABLED\_​ERROR
* PAYMENT\_​INSUFFICIENT\_​FUNDS
* PAYMENT\_​INVALID\_​BILLING\_​ADDRESS
* PAYMENT\_​INVALID\_​CREDIT\_​CARD
* PAYMENT\_​INVALID\_​CURRENCY
* PAYMENT\_​INVALID\_​PAYMENT\_​METHOD
* PAYMENT\_​TRANSIENT\_​ERROR

***

## Fields

* [Completion​Error.code](https://shopify.dev/docs/api/storefront/latest/objects/CompletionError#field-CompletionError.fields.code)

  OBJECT

  An error that occurred during a cart completion attempt.

***

## Map

### Fields with this enum

* [Completion​Error.code](https://shopify.dev/docs/api/storefront/latest/objects/CompletionError#field-CompletionError.fields.code)