I'm using a base profile and am getting the following errors within Zowe Explorer:
Retrieving response from zowe.GetJobs Error: Expect Error: Required object must be defined
Error: Profile Name test is inactive. Please check if your Zowe server is active or if the URL and port in your profile is correct.
Describe the bug
To Reproduce
zowe auth login apiml and respond to promptszowe profiles create zosmf test --host xxx --base-path api/v1 --ddzowe jobs list jobs is succesfulExpected behavior
Screenshots

Desktop (please complete the following information):
1.10.17.0.0...@nextAdditional context
Can you try to do 2 things?
Thanks @jellypuno - I get the same results trying those two things.
I tried it and it is working for me
@jellypuno - you are using the same versions of Zowe Explorer and Zowe CLI as @dkelosky ?
@venkatzhub I'm using Zowe CLI 6.23.0. I'll try to upgrade to 7.0
Now, I'm having trouble with zowe auth 馃槩
C:\Users
位 zowe auth login apiml
Command Error:
Command failed due to improper syntax
Command entered: "zowe auth login apiml"
Unknown group: auth
Did you mean: plugins list?
Use "zowe --help" to view groups, commands, and options.
C:\Users
位 zowe -V
7.0.0-next.202003271736
I'm also using 7.0.0-next.202003271736 - however, I built from source on https://github.com/zowe/zowe-cli/tree/next
Apparently - this isn't published on npm 馃槩 . Hopefully, it will be "soon" along with the daemon work.
Here is the requested information to diagnose the issue:
Zowe Explorer Version => 1.10.1
Zowe CLI Version => 6.23.0
@venkatzhub this is the error:
[2020/11/18 15:11:15.047] [DEBUG] [extension.js:73] Validate Error - Invalid Profile: Error: z/OSMF REST API Error:
http(s) request error event called
Error: self signed certificate in certificate chain
I want to confirm if you are connecting to apiml? if yes, please make sure that reject unauthorized is set to true and basepath is equal to APIML basepath
The customer was indeed connecting using APIML. Here is what I got in an earlier email:
zowe auth login apiml --host ${zowehost} --port ${zomwemlport} --user ${myuser} --password ${mypassticket}-ru false
zowe profiles create zosmf maint-zosmf --base-path api/v1 --disable-defaults
@venkatzhub ok. great. reject unauthorized should be set to true if connecting through apiml
@jellypuno - based on the tests you did, is it fair to say that ru is not influencing the behavior?
In this case @jellypuno, would we want false for rejectUnauthorized since there are self signed certs in play?
From @zFernand0 :
zowe profiles update base default --ru false
This still doesn't answer how / why zowe jobs list jobs runs without also getting a certificate error.
@venkatzhub - can you request the user test zowe zos-jobs list jobs --zosmf-p maint-zosmf (explicitly qualify the newly created profile)? Perhaps the command works by picking up another, working default.
@dkelosky - done!
So the customer with this particular issue came back and everything is working now. @dkelosky, shall I keep it open for what you experienced?
I didn't resolve this on my end yet, but I'll close until I can try to revalidate this again.