Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get HTTP 500 error trying to browse datasets #2094

Open
mhammack opened this issue Oct 18, 2023 · 6 comments
Open

Get HTTP 500 error trying to browse datasets #2094

mhammack opened this issue Oct 18, 2023 · 6 comments
Labels
bug Something isn't working new

Comments

@mhammack
Copy link

Describe the bug
I'm not sure this is really a bug or just a lack of documentation. In VSCode, I am apparently connecting the ZOWE. However, when I try to add datasets (may also affect USS and Jobs) to the profile, I get an HTTP error and looking at the 'details' it tells me ACCTNUM = "*" isn't defined. I checked and sure enough it wasn't defined. However, rather than using ACCTNUM *, I want to use a valid, defined ACCTNUM value, but I can't find anywhere to add it, nor have I found ANY documentation on how to add it.

This might be a security issue in some locations.

Steps to Reproduce

  1. Define a profile to connect to z/OS via zosmf
  2. Use the search button to find datasets

Expected behavior
I should be able to specify the ACCTNUM value to be stored in the profile or at least get prompted during the logon process.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs

Details

  • Version and build number: V2.11.2
  • Test environment: z/OS 2.5, RACF

Web Browser Details (if the bug relates to Zowe Desktop usage):

  • OS: [e.g. macOS, Windows]
  • Browser [e.g. Chrome, Safari]
  • Version [e.g. 71.0.3578.98]

REST API client (in case of REST API issue):

  • Technology: Node.js 18.15.0
  • OS: Windows 11

Shell Environment Details (if the bug relates to CLI):

  • Technology: VSCode 1.83.1
  • OS: Windows 11 Pro

Additional context
Add any other context about the problem here.

@mhammack mhammack added the bug Something isn't working label Oct 18, 2023
@boris-bc
Copy link

I would suggest you post this question in Slack as well. You may get faster response there: #zowe-explorer

I'm not an expert but to me this sounds like a configuration issue for z/OSMF. I would suspect you would see the same error if you try the same operation from the z/OSMF UI.

@balhar-jakub
Copy link
Member

The answer from the slack.

Billie Jean Simmons
:zowe_logo_2020: 21 minutes ago
Hey Jakub, This error about ACCTNUM sounds like an issue with zosmf rest api configuration and the user may experience the same error if trying to use the cli. We prompt for account number when issuing a TSO command if not saved in TSO profile but not with listing of data sets.

Billie Jean Simmons
:zowe_logo_2020: 18 minutes ago
here are the docs for host side configurations for zosmf

@mhammack
Copy link
Author

mhammack commented Oct 23, 2023 via email

@mhammack
Copy link
Author

mhammack commented Oct 23, 2023 via email

@balhar-jakub
Copy link
Member

@JillieBeanSim Can you please take a look?

@JillieBeanSim
Copy link
Contributor

JillieBeanSim commented Oct 24, 2023

Hey @mhammack, api calls for the MVS tree shouldn't require an account number. Please have your system administrator make sure the zOSMF APIs are configured correctly for Zowe. Here is the documentation that Zowe docs point to (outside of Zowe docs), this information comes from the installation checklist docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new
Projects
None yet
Development

No branches or pull requests

4 participants