Edit in GitHubLog an issue

Error codes specific to LGA

LGA reuses the following error codes to report the corresponding failure reasons. The full set of error codes is available in the Status Codes and Error Handling section of the Adobe Commerce Partner API documentation.

EndpointError CodeError ResponseReason
POST /v3/customers
1117
400 BAD REQUEST
"message": "Some Fields are Invalid."
"additionalDetails": ["Invalid coterm date for Large Government Agency"]
When the coterm date exceeds 23 months for LGA customer.
POST /v3/customers/{customer_id}/linked_membership/enroll/{linked_membership_id}
1118
400 BAD REQUEST
"message": "Invalid Address",
"additionalDetails": ["Account country does not match with the linked account group country"]
When the group country does not match with the account country for enrollment.
GET /v3/linked_membership_groups
1118
400 BAD REQUEST
"message": "Invalid Address",
"additionalDetails": [ "Invalid Country"]
When the country is invalid.
GET /v3/linked_membership_groups
1118
400 BAD REQUEST
"message": "Invalid Address",
"additionalDetails": [ "Country cannot be null or empty]
When country is null/empty.
GET /v3/linked_membership_groups
1143
404 NOT FOUND
"message": "Linked Account Group Not Found",
"additionalDetails": []
When no linked account group is found with specified query parameters.
POST /v3/customers
1147
400 BAD REQUEST
"message": "3YC Customer not allowed",
"additionalDetails": ["3YC Customer not allowed for Large Government Agency"]
When the customer requests both LGA and 3YC benefits.
POST /v3/customers/{customer_id}/linked_membership/enroll/{linked_membership_id}
1153
400 BAD REQUEST
"message": Invalid group id",
"additionalDetails": [“Account and Linked Account group are not part of same distributor”]
When the group Id is provided in enrolment API request but the account and Linked member group are not part of same distributor.
PATCH /v3/customers/{customer-id}
1163
400 BAD REQUEST
"message": "Market segment not allowed for Large Government Agency",
"additionalDetails": [ ]
If the customer account is LGA enabled for linked membership group request and the market segment for the customer is not GOV.
POST /v1/account_groups
1163
400 BAD REQUEST
"message": "Market segment not allowed for Large Government Agency",
"additionalDetails": []
When the linked membership create request LGA flag as true but market segment is not GOV.
POST /v3/customers
1163
400 BAD REQUEST
"message": "Market segment not allowed for Large Government Agency",
"additionalDetails": []
When market segment is not 'GOV'/'GV'.
POST/v3/memberships/{membership-id}/transfers
1164
400 BAD REQUEST
"message": "Large Government Agency is not enabled for partner",
"additionalDetails": []
When LGA customer is trying to migrate under non-LGA distributor.
PATCH /v3/customers/{customer-id}
1164
400 BAD REQUEST
"message": "Large Government Agency is not enabled for partner",
"additionalDetails": [ ]
If the update request is to enable LGA for customer and create linked membership group in same request and the distributor for the customer is not LGA eligible.
POST /v3/customers
1164
400 BAD REQUEST
"message": "Large Government Agency is not enabled for partner",
"additionalDetails": []
When associated partner is not allowed to sell LGA offers.
PATCH /v3/customers/{customer-id}/reseller-changes
1164
400 BAD REQUEST
"message": "Large Government Agency is not enabled for partner",
"additionalDetails": []
When LGA customer is trying to do reseller-change under non-LGA distributor.
POST /v3/customers/{customer_id}/linked_membership/enroll/{linked_membership_id}
1165
400 BAD REQUEST
"message": "Large Government Agency is not enabled for customer",
"additionalDetails": []
When the group Id is provided in enrolment API request but the account is not LGA for the account ID from the request.
POST /v3/customers/{customer_id}/linked_membership/enroll/{linked_membership_id}
1166
400 BAD REQUEST
"message": "Large Government Agency is not enabled for linked account group",
"additionalDetails": []
When the group Id is provided in enrolment API request but the group is not LGA.
PATCH /v3/customers/{customer-id}
1167
400 BAD REQUEST
"message": "Invalid country for Large Government Agency",
"additionalDetails": []
When the update account request is called for distributor outside of the US or Canada to enable LGA.
POST /v3/customers
1167
400 BAD REQUEST
"message": "Invalid country for Large Government Agency",
"additionalDetails": [ ]
- This occurs when a distributor outside the US or Canada is being authorized to sell LGA offers.
- When trying to create LGA customer outside of the US or Canada.
POST /v3/customers
1168
400 BAD REQUEST
"message": "Market subsegment not allowed for Large Government Agency",
"additionalDetails": []
When market subsegment is neither federal or state for LGA customer.
PATCH /v3/customers/{customer-id}
POST v2/orders
1169
400 BAD_REQUEST
“message”: “This offer is not allowed for Large Government Agency
PATCH /v3/customers/{customer-id}
POST v2/orders
1170
400 BAD_REQUEST
“message”: “Invalid quantity for Large Government Agency "
POST v2/orders
2129
400 BAD REQUEST
"message": "Customer is not eligible to purchase the Offer ID",
"additionalDetails": [
"Reason: Not an LGA Customer" ]
When Customer tries to place an order with 06 to 09 levels but customer is not an LGA customer.

5117 Ineligible Transfer REASON_CODE List

These LGA-specific REASON_CODE values will be included in the additionalDetails array for 5117 errors.

REASON_CODEDescription
INVALID_LM_MIGRATION_LEVEL
Linked Member level is not equal to 01 - 04 or 06-09.
OWNER_MEMBER_COUNTRY_MISMATCH
Member country in the Linked Membership (LM) is not same as that of the LM owner country.
LGA_LM_MARKET_SEGMENT_MISMATCH
Customer market segment and Linked Membership market segment are not the same.
INVALID_LGA_MARKET_SEGMENT
Linked Member Group Market Segment is not GOV.
NOT_LGA PARTNER
Partner country is not US/CA.
INSUFFICIENT_LGA_MOQ
MOQ is < 100 and ( Considering FRL SKU's presence)
LGA_QTY_LEVEL_MISMATCH
MOQ does not fall between respective level cap quantities.

For the complete set of VIP Marketplace error codes, see Status Codes and Error Handling.

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.