Skip to content

Enhancement: Show a clean error when using @me tokens using application permissions #4818

@milanholemans

Description

@milanholemans

You can use @meId and @meUserName for quite some time now in commands. However these tokens only work in delegated mode.
When you try to use these tokens using application permissions, a value will be used from the access token and the API request will fail.

Example @meId:

image

Example @meUserName:

image

In both cases it would be much clearer if we throw a clean error saying that you can't use these tokens if you are using application permissions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions