GAM-team / GAM-team/got-your-back

400: Invalid label name - invalidArgument for multiple labels

Open
#442 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.1k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

Hi, when I try to recover I have this error.

```
Creating label Da leggere
400: Invalid label name - invalidArgument
```

I tried

`--extra-reserved-labels "da leggere"`

But now I get

```
leggereg label Da
400: Invalid label name - invalidArgument
```

How cat I solve? Can I pass multiple reserved labels?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CLI handling for --extra-reserved-labels and reproduce the recovery command with a label containing spaces and with multiple labels. Trace how the argument is split before labels are created; done means multiple reserved labels, including spaced names, are accepted without the Gmail invalidArgument error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.