SYS_UPDATE_CAMPAIGN_JSON (Campaign S2S) returns "Unrecognized request" even though our app is already running 6.0.1
-
Hi BrainCloud Team,
Following up on our earlier Campaign discussion — we tested the new S2S operations
introduced in 6.0.1 (SysUpdateCampaignJson / SysUpdateScenarioJson) against our dev
app, and SysUpdateCampaignJson consistently fails with "Unrecognized request."- Test campaign: CMP_TEST_01 (status: In Progress, no end date — never expires)
Confirmed server version (via client GetServerVersion, authenticationV2/GET_SERVER_VERSION):
"serverVersion": "R6.0.1-194"
So the app is already running 6.0.1, not an older build.Request (via S2S Explorer, flat single-operation format):
{
"appId": "{Our_AppID}",
"serverName": "{Our_ServerName}",
"serverSecret": "***",
"service": "campaign",
"operation": "SYS_UPDATE_CAMPAIGN_JSON",
"data": {
"ccCall": false,
"campaignCode": "CMP_TEST_01",
"version": -1,
"campaignJson": { "theme": "winter", "bannerId": 7 }
}
}Response:
{
"reason_code": 40001,
"status_message": "Processing exception: Unrecognized request: service=campaign, operation=SYS_UPDATE_CAMPAIGN_JSON.",
"status": 400
}What we've already ruled out on our side:
- Campaign state/schedule — campaign is active and never expires.
- Plan/tier gating — LiveOps Campaigns menu is visible and campaign creation works
in our portal, so this isn't an Enterprise-tier access issue. - serverName — retried with the correct registered credential name
("{Our_ServerName}" instead of a placeholder "CloudCode"); identical error. - Request format/casing — matches the same convention as other SYS_ operations we
already call successfully (e.g. SYS_UPDATE_ENTITY, SYS_GET_SEGMENT_LIST). - reason_code 40001 semantics — confirmed via the C# client SDK's ReasonCodes.cs
that 40001 (INVALID_REQUEST) is a generic shared bucket code, not specific to
"campaign ended" (that would need a distinct message string, which we did not
receive — ours literally says "Unrecognized request"). - Version rollout timing — directly disproven; GetServerVersion confirms 6.0.1 is
already live on this app.
We also tried a session-based (client-authenticated) call to the same operation,
which returned 403 Forbidden instead of 400 — a different error, but we don't think
it's a clean comparison since Sys* operations are S2S-only by design.Given the operation is documented, listed in the 6.0.1 release notes as live, and
selectable in the portal's own S2S Explorer, but still fails with "Unrecognized
request" on a fully up-to-date app with valid credentials, we suspect either the
operation isn't fully wired into the S2S dispatcher yet, or there's some
app-level/credential-level permission gate we're not seeing. Could you confirm
whether SYS_UPDATE_CAMPAIGN_JSON should be callable for our app as-is, or if
there's an additional enablement step on your end?Happy to provide additional repro details (packet IDs, timestamps, etc.) if useful.
Thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login