adobe / adobe/aio-cli-plugin-cloudmanager

400 Bad Request for any command

Offen
#631 14 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
50
Forks
36
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Expected Behavior**

I expect to be able to see my orgs, programs, etc. I also expect to be able to access (read/write) configuration for them.

**Actual Behavior**

Any command returns Error: 400 (Bad Request)

**Reproduction Scenario, Platform, and Version**

npm --version
8.1.3

aio -v
@adobe/aio-cli/8.2.0 darwin-x64 node-v14.16.0

aio plugins
@adobe/aio-cli-plugin-cloudmanager 2.26.1

If this is related to authentication, include the output of `aio config:get ims.contexts.aio-cli-plugin-cloudmanager` but *do not* include the private key content *or* any access tokens.

Output of aio config:get ims.contexts.aio-cli-plugin-cloudmanager is nothing, not even a blank line.

**Steps to Reproduce**

Steps to reproduce the behavior:
1. `npm install -g @adobe/aio-cli`
2. `aio plugins:install @adobe/aio-cli-plugin-cloudmanager`
3. `aio plugins:update`
4. `aio auth:login` Followed by the program opening a browser, logging in, and seeing the Adobe I/O success message.
5. `aio cloudmanager:org:list` <- returns Error: 400 (Bad Request)
6. `aio cloudmanager:org:select` <- returns Error: 400 (Bad Request)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No source file or test is named. Start by reproducing the failure with aio auth:login, aio cloudmanager:org:list, and aio cloudmanager:org:select, then inspect the authentication context and request handling that produces the 400 response. Done means the commands can access and select organizations without returning 400.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js
Bereich
authentication, cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.