Original Message:
Sent: Tue April 11, 2023 11:25 PM
From: Raghava Vundavalli
Subject: POST /users API Call: 500 Internal Server Error
ERROR Audit.Other.DISP.com.cognos.pogo.handlers.engine.ServiceLookupHandler [Default Executor-thread-51]
4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj yG8289M924wv4G888G9sqlwq42yv4G928wyd8vjd NA
<messages>
<message>
<messageString>CM-REQ-4342 An error occurred with the client.</messageString>
</message>
<message>
<messageString>CM-REQ-4025 The location "null" is invalid.</messageString>
</message>
</messages>
2023-04-12T03:12:41.666+0000 ERROR Audit.caf [Default Executor-thread-51] 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj yG8289M924wv4G888G9sqlwq42yv4G928wyd8vjd NA 10.0.34.4 58636 NA
IBM Cognos 9916 Request secure error - did not find userCapabilities Warning
2023-04-12T03:12:41.666+0000 INFO startup.Audit.caf [Default Executor-thread-51] 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj yG8289M924wv4G888G9sqlwq42yv4G928wyd8vjd NA 10.0.34.4 58636 NA
IBM Cognos 9916
Request SecureErrorId: 2023-04-12-03:12:41.666-#5 Original Error: CM-REQ-4025 The location "null" is invalid. Failure
2023-04-12T03:12:41.668+0000 ERROR com.ibm.bi.admin.core.exceptions.AdminExceptionMapper [Default Executor-thread-125] 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj NA 10.0.34.4 58630 LoginUser-149614924 NA
/v1/users account-service 9916 Request URL: /account-service/v1/users
Response status: 500
Details: {"errors":[{"code":"","level":"error","message":"ADMIN-GEN-0001 Internal error"},
{"severity":"error","code":"caf","level":"error","messages":["CM-REQ-4025 The location \"null\" is invalid.","CAF-WRN-2082 An error has occurred.
Please contact your administrator. The complete error has been logged by CAF with SecureErrorID:2023-04-12-03:12:41.666-#5"],
"errorCode":"caf","message":"CM-REQ-4025 The location \"null\" is invalid."}]}
2023-04-12T03:12:41.669+0000 ERROR com.ibm.bi.platform.commons.web.BIResponseWrapper [Default Executor-thread-125] 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj NA 10.0.34.4 58630 LoginUser-149614924 NA
/v1/users account-service 9916 HttpServletResponseCode for /account-service/v1/users is in error: 500
2023-04-12T03:12:41.681+0000 ERROR com.ibm.ca.api.CAApiExceptionMapper [Default Executor-thread-251] yGGs4y8G9vsj9989jd99s92dyhCjqldqGC4s4j8j yGGs4y8G9vsj9989jd99s92dyhCjqldqGC4s4j8j NA 172.16.30.2 49359 NA
/users ca-api 9916 stream is closed
getting that error.
Can you please suggest why.
------------------------------
Raghava Vundavalli
Original Message:
Sent: Mon September 20, 2021 05:15 AM
From: Paul Mendelson
Subject: POST /users API Call: 500 Internal Server Error
Did you log out and back in after adding everyone? I'm not sure why you wouldn't be seeing the full error. The log is on the server. I think the cogserver.log that would have the full details.
How are you building the call? Can you post it here?
------------------------------
Paul Mendelson
Original Message:
Sent: Fri September 17, 2021 04:42 AM
From: Sushant Kulkarni
Subject: POST /users API Call: 500 Internal Server Error
Hi Paul, thanks for your inputs.
I attempted the same call after adding "everyone" to the detailed errors capability. Unfortunately, there was no difference in the response received from Cognos. I was trying to figure out a way to read logs, but I'm not sure where they're recorded. Can I access any server logs from the admin console? The response code I get back is a 500 Internal Server Error, so I was wondering if I can get to the root cause through the logs.
------------------------------
Sushant Kulkarni
Original Message:
Sent: Thu September 16, 2021 03:02 PM
From: Paul Mendelson
Subject: POST /users API Call: 500 Internal Server Error
In the capabilities section in the admin console add "everyone" to "detailed error messages". Then run it again, it should give you more info.
------------------------------
Paul Mendelson
Original Message:
Sent: Thu September 16, 2021 07:49 AM
From: Sushant Kulkarni
Subject: POST /users API Call: 500 Internal Server Error
{ "errors": [ { "code": "", "level": "error", "message": "ADMIN-GEN-0001 Internal error" }, { "severity": "error", "code": "caf", "level": "error", "messages": [ "CM-REQ-4025 The location \"null\" is invalid.", "CAF-WRN-2082 An error has occurred. Please contact your administrator. The complete error has been logged by CAF with SecureErrorID:2021-09-16-06:44:04.500-#30" ], "errorCode": "caf", "message": "CM-REQ-4025 The location \"null\" is invalid." } ]}
Hi,
When testing the API call to add users to a namespace, I am seeing the above error in the response. I do not see this error documented in the Swagger test page, and there is not a lot of info available to debug this issue. If you have come across this error, or know how to resolve it, please let me know.
Thanks,
Sushant.
------------------------------
Sushant Kulkarni
------------------------------
#CognosAnalyticswithWatson