Skip to content

401 after refreshing APIML token when trying to view job spool #3289

@adam-wolfe

Description

@adam-wolfe

Describe the bug

If I have an expired token, reauthenticate, list jobs, then try to view the spool files, I get an error 401. This behaves similarly to #3150, except with viewing job spool rather than members.

To Reproduce

  1. Start VS Code with an expired APIML token.
  2. Try to list data sets and get prompted to refresh your token.
  3. Refresh your token by reauthenticating.
  4. List jobs by user ID
  5. Expand a job and click on a spool file
  6. Get an error 401

Not sure if it's relevant, but I am using nested profiles for APIML connections.

Expected behavior

The new token should be used when trying to download spool files.

Screenshots

Desktop (please complete the following information):

  • OS:
  • Zowe Explorer Version: built from main as of dbce388
  • (Optional) Zowe CLI Version:
  • (Optional) Are you using Secure Credential Store?

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-highProduction outage - this quarter or at least next quarterseverity-mediumBug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Type

No type
No fields configured for issues without a type.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions