Skip to content

403 SUBSCRIPTION_MISMATCH cannot be returned #194

@fernandopradocabrillo

Description

@fernandopradocabrillo

Problem description

In the subscriptions API, the error 403 SUBSCRIPTION_MISMATCH of the Create operation is returned when the access token has been granted with a scope that allows to create a subscription for an event but, in the request body, the client requests a subscription for a different one.
This is fine in APIs where there is more that one event to subscribe to but here, since we only have one, if the token lacks the scope, the error returned would be 403 PERMISSION_DENIED instead.

Expected behavior

Remove error 403 SUIBSCRIPTION_MISMATCH

Alternative solution

Open to suggestions

Metadata

Metadata

Assignees

Labels

Fall25Meta-release Fall25correctionSomething needs to be corrected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions