Skip to content

Error: /api/sync returned disallowed changes -- declining an invitation #4743

Closed

Description

@sentry

Observed behavior

Seems declining a channel invitation results in the change being disallowed. I do not believe this is a regression. See the attachment in the Sentry issue for the change objects. Here's a preview:

[

{
"channel_id": "a28114cfd97a4def9b0910334ec3fcff",
"key": "4d6f8f3aeef045408e19a1a4114dbfa9",

"mods": {
"declined": true
},
"rev": 199,
"table": "invitation",
"type": 2,
"user_id": 29689
}
]

Sentry Issue: STUDIO-HC3

Error: /api/sync returned disallowed changes
  at handleDisallowed (./shared/data/serverSync.js:66:19)
  at <anonymous> (./shared/data/serverSync.js:291:9)

Expected behavior

Declining an invitation does not result in a 'disallowed change'

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions