---
article_id: KB0400130
article_type: Support Note
component_ids:
  - SBN-AN-SCC
component_descriptions:
  - SAP Business Network for Procurement & Supply Chain > SAP Ariba Supply Chain Collaboration
products:
  - SAP Business Network for Procurement and SAP Business Network for Supply Chain
personas:
  - Admin
  - Buyer
language: en
created: 2025-12-08
updated: 2025-12-08
source: Knowledge Base
url: https://support.ariba.com/item/view/KB0400130
connect_url: https://support.ariba.com/item/view/KB0400130?min=1
sap_for_me_url: https://me.sap.com/notes/KB0400130
---

# Error: "Quality Notification document contains invalid QNCode[domain='type']"

## Symptom

When we create a Quality Notification (QN) with custom QN code, the document is failing in SAP Integration Suite, managed gateway for spend management and SAP Business Network with below error:

“SAP Business Network Response is :"Bad Request" and Error Code:"400" and Error Code Response: "Error: Quality Notification document contains invalid QNCode\[domain='type'\] with codeGroup='Z1' and code='Z1'. Please contact support with the Error Reference Number: ANERR-80000000000000001759364822 for more details. Suggested Action : Document Failed in SAP Business Network.For further assistance, please contact Ariba Support with the code mentioned in Response.Managed Gateway for Spend&Network Support Error Code : CIG-PLT-00644”

## Cause

Even though the QN code was loaded it was not enabled, hence AN was not allowing the QN document to be processed.

## Resolution

Even though the QN Code exists in Ariba, it is not enabled. Follow steps bellow to enable it:

1. Log in to buyer SAP Business Network account
2. Go to **Quality** tab
3. Click on the settings icon on the top right corner
4. Check mark next to QN code should be checked

## Keywords

qn invalid, qncode error,
