Fluent Commerce Logo
Docs

GraphQL API Error Codes Overview

Essential knowledge

Intended Audience:

Technical User

Authors:

Fluent Commerce, Kirill Gaiduk

Changed on:

12 June 2025

Overview

This document explains the GraphQL Error Codes used by Fluent Commerce.

Key points

  • Understand the Error Code structure: Each code follows the Prefix + 4-digit Code + Suffix format (e.g., C0001E), which instantly reveals the source (Client/Server/Third-party) and type (Error/Warning) of the issue
  • Quick diagnosis and resolution: Error Codes are grouped by category and purpose, helping developers diagnose and resolve issues faster without deep debugging or guesswork
  • Self- vs. support-resolvable issues
    • Codes with a C prefix usually point to issues clients can fix on their own 
    • While S prefixed Codes may require platform support

Error Code Format

Every Error Code adheres to the Prefix + 4-digit Code + Suffix format: <<C/S/T>> <<4 digit code>> <<E/W>> (e.g., `C0001E`, `C0002W`, `S0001E`, `S0003W`).

Prefix

The table lists the Prefixes used in the Error Codes:
CodeType of IssueDescription
CClient issuesThese are usually issues that can be fixed by clients themselves
SServer issuesClients need assistance to resolve the issue
TThird-party issuesIssues caused during third-party interactions

4 Digit Code

Represents a unique Code for an Error:
  • Errors are classified into types
  • Error Codes are divided into chunks of 100
  • Each chunk can be divided into further chunks of 20

Suffix

The table lists the Suffixes used in the Error Codes:
CodeType of Issue
EError
WWarning

Error Classification

Client Errors

4 Digit SequenceClassification of ErrorDescription
C0001 - C0099Platform behaviorErrors that come from platform restrictions but could be fixed by clients
C0001 - C0019API limit ErrorsFor example: Indicates that a GraphQL query was made with higher complexity than is allowed by the server
C0020 - C0099TBC
C0100 - C0199Input Validations
C0100 - 0119Date-relatedInput validation Errors that have to do with dates and times
C0120 - C0139Field-relatedInput validation Errors that have to do with fields
C0140 - C0159Request Format-relatedInput validation Errors that have to do with the request formats
C0160 - C0179Custom Validations - TBC
C0180 - C0299TBC

Server Errors

4 Digit SequenceClassification of ErrorDescription
S0001 - S0019Settings ErrorAny Error in Platform Settings.
For example, a missing Setting or values of two Settings in conflict with one another
S0020 - S0039TBC

Error Code Examples

Client Errors

The table lists the details of the Client Error Codes and possible solutions for them.
Error CodeDescriptionPossible Solutions
C0001EIndicates that a GraphQL query was made with a higher complexity than is allowed by the serverSimplify the query by reducing:
  • nesting 
  • requested fields
  • or number of records
C0003EIndicates that a Virtual View is still initializing and data is not yet available
Wait until the Virtual View setup completes and status changes to `ACTIVE`
C0011EUser has exceeded the allowable number of GraphQL queries in a given time periodReduce query frequency
C0020EUser lacks required Permissions to execute the query or mutation
  • Review the required missing Permissions listed in the Error Message
  • Assign a User Role with the missing Permissions
C0100EUser passed a non-UTC date valuePass a valid UTC date format
C0101EUser is querying on dates without passing `from` or `to` parameterPass at least one of the `from` or `to` parameters
C0102EUser is querying on dates without passing both `from` and `to `parametersPass both `from` and `to` parameters
C0103EIndicates that a query timeframe exceeds allowed max range for the chosen granularity
  • Reduce timeframe 
  • or change granularity
C0120EValidation error when entity cannot be found during operation (e.g., delete mutation)Ensure inputs refer to existing Entities accessible by the UserFor example: 
  • A User may have access to data for multiple Retailers. Such a User can perform permitted operations on all those Retailers
  • Whereas User who have access to a single Retailer will only be allowed to perform the permitted operations for data of that Retailer only
C0121EInput `ref` violates a unique constraintVerify the input `ref`
C0122EInteger field does not allow negative valuesUse a positive integer
C0123EInput field violates a unique constraintVerify the input field value
C0124EIndicates that object validation failed (e.g., Inventory Feed)
  • Verify that destination attributes are not empty
  • Ensure the following attributes are provided:
    • AWS Account ID
    • AWS S3 Bucket Name
  • Provide only one AWS Account ID and one S3 Bucket Name
C0125EUser is querying on ranges without passing `from` or `to` parameterPass at least one of the `from` or `to` range parameters
CO127EIndicates that the system could not find a Retailer Entity for the given TypeEnsure that the provided Type is valid and that a corresponding Retailer Entity exists and is accessible
C0128EIndicates that multiple Products with the same Reference exist within a Product Catalog
  • Ensure Product Reference uniqueness within a Product Catalog
  • Or use optional `productType` input field to identify the target Product (to be updated with the `updateProduct` mutation)
C0140EMissing variables in a query or mutationPass the required variables in the query
C0141EInput field value exceeds max character length
  • Find the character limit from the documentation 
  • Pass a value within this limit
C0160ECustom validation failed on a specific input fieldReview and correct field value per schema custom validations
C0161EHash (#) character not allowed in this field inputRemove # character from input
C0162EThe provided timezone is not a valid timezoneCheck if the timezone value matches an existing and valid TZ identifier in the Continent/City format 

Server Error Codes

The table lists the details of the Server Error Codes and possible solutions for them.
Error CodeDescriptionPossible Solutions
S0001EIndicates that the Entity-level Permission Setting is missingRaise a support ticket to set the Permission Setting
S0002E
  • Indicates a general server failure in processing a GraphQL request
  • Indicates that the “Me” query feature has been disabled by account configuration
  • Try again later or contact support if the issue persists
  • "Me" query can be enabled for the Account by removing the GRAPHQL.DISABLE_GRAPHQL_ME_QUERY Account Setting
S0003EIndicates that the Account Setting SSO.DETAILS contains invalid JSON valuesUpdate the value using the existing setting API
S0004EIndicates a failure when trying to create a User in Fluent IDPRaise a support ticket to investigate
S0005EIndicates a failure when trying to update a User in Fluent IDPRaise a support ticket to investigate
S0006EIndicates that a failure occurred while trying to upsert an Inventory Feed
  • Review the Inventory Feed configuration 
  • or contact support
S0020EIndicates an unspecified server-side error
  • Retry the request later 
  • Contact support if the issue continues
S0030EIndicates a failure in setting up the Virtual ViewContact support to investigate Virtual View setup issues
S0040EIndicates a failure while MeQuery extracting username from a JWT access token
  • Retry the operation later
  • If not resolved, then raise a support ticket to investigate
S0126EIndicates that Observability features are turned offContact support to enable Observability
S0127EIndicates that Analytics query feature is turned offContact support to enable Analytics