Skip to content

Document that the S2S/Transition API "type" field is case-sensitive (DOC-2298) - #460

Open
BrindaaRC wants to merge 1 commit into
mainfrom
doc-2298-s2s-type-case-sensitive
Open

Document that the S2S/Transition API "type" field is case-sensitive (DOC-2298)#460
BrindaaRC wants to merge 1 commit into
mainfrom
doc-2298-s2s-type-case-sensitive

Conversation

@BrindaaRC

Copy link
Copy Markdown
Contributor

What changed

Clarifies in the Data API reference that each element's type field is case-sensitive and must be lowercase (customer, event, or device).

  • api/data/data.yaml — updated the type field descriptions for the customer, event, and device schemas to state the value must be lowercase and that a different-cased value (e.g. Customer) is not accepted.
  • api/data/data-overview.mdx — added a troubleshooting <Warning> in the Request Body section: if records are not processed and no user/event/device is created, verify the type value is lowercase.

Why

Support ticket SUP-9022: a client sent a capitalized type value and the data was not processed, with no obvious cause. The reference did not make the lowercase requirement or the failure symptom clear.

Reviewer notes

  • The lowercase requirement is confirmed by the spec's own enums ([customer], [event], [device]) and existing case-sensitivity notes.
  • Wording intentionally avoids specifying the exact failure mode (hard error vs silent drop), since the spec documents an "Invalid Type" AttributeError example while the source ticket described a silent drop — that precise behavior is left to a separate eng confirmation and does not affect this doc's accuracy.
  • Addresses DOC-2298.

🤖 Generated with Claude Code

…DOC-2298)

Clarify in the Data API reference that each element's "type" field is
case-sensitive and must be lowercase (customer, event, or device); a value
with different casing, such as "Customer", is not accepted. Add a
troubleshooting note in the Data API overview so users check the "type"
casing when records are not processed.

Addresses DOC-2298 (source SUP-9022).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
moengage 🟢 Ready View Preview Jul 27, 2026, 9:27 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
moengage 🟡 Building Jul 27, 2026, 9:16 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant