Skip to content

Commit 73a302f

Browse files
Merge pull request #7596 from segmentio/DOC-1099
Add a question to Consent Mgmt FAQ about a common error
2 parents 3d2ba84 + 4b92bed commit 73a302f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/privacy/consent-management/consent-faq.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ You can use the [Destination Actions framework](/docs/connections/destinations/a
1919

2020
For more information, see the [Sharing consent with Actions destinations](/docs/privacy/consent-management/consent-in-unify/#sharing-consent-with-actions-destinations) documentation.
2121

22-
## Can I use a Consent Management Platform (CMP) other than OneTrust to collect consent from my end users?
22+
## Why is my event failing ingestion with the error "context.consent.categoryPreferences object is required"?
23+
24+
An `context.consent.categoryPreferences object is required` error occurs when you send the Segment Consent Preference Updated event without the `context.consent.categoryPreferences` object. Segment performs a validation on the Segment Consent Preference Updated event to ensure that you've correctly structured your end users' consent preferences. If the required object is missing, Segment won't ingest the event and the event won't appear in downstream tools.
25+
26+
Other events, like Track, Identify, or Group, are not subject to the same consent validation and do not require the `context.consent.categoryPreferences` object.
27+
28+
If you're using a Consent Management Platform (CMP) integration other than [Segment's Analytics.js OneTrust wrapper](/docs/privacy/consent-management/onetrust-wrapper/), you must ensure your Segment Consent Preference Updated events contain the `context.consent.categoryPreferences` object.
29+
30+
## Can I use a CMP other than OneTrust to collect consent from my end users?
2331

2432
Yes, you can use any commercially available CMP or custom solution to collect consent from your end users. If you use a CMP other than OneTrust, you must generate your own wrapper or other mechanism to add the following objects to the events collected from your sources:
2533
- Includes the [consent object](/docs/privacy/consent-management/consent-in-segment-connections/#consent-object) on every event

0 commit comments

Comments
 (0)