question

Ethan K. G avatar image
Ethan K. G asked

Cloud Script entity.SetObjects returns 1352, EntityProfileVersionMismatch

Execute entity.SetObjects from Cloud Script, get the following error:

"apiError": {
    "code": 400,
    "status": "BadRequest",
    "retryAfterSeconds": null,
    "error": "EntityProfileVersionMismatch",
    "errorCode": 1352,
    "errorMessage": "EntityProfileVersionMismatch",
    "errorHash": null,
    "errorDetails": null
}

My code is pretty straight forward:

let groupKey: PlayFabDataModels.EntityKey = {Id: groupId, Type: "group"};


// Update group objects
entity.SetObjects({
    Entity: groupKey,
    Objects: [{ObjectName: GROUP_OBJ_KEY_RECORDS1, DataObject: records}],
});

Any hint or suggestion for debugging?

CloudScriptentities
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

I cannot reproduce this issue. May I ask do you call this API in Cloud Script? If it is the case, may I have your title ID and function name?

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.