Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  POST /users API Call: 500 Internal Server Error

    Posted Thu September 16, 2021 07:50 AM
    {
      "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


  • 2.  RE: POST /users API Call: 500 Internal Server Error

    Posted Thu September 16, 2021 03:03 PM
    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
    ------------------------------



  • 3.  RE: POST /users API Call: 500 Internal Server Error

    Posted Fri September 17, 2021 04:43 AM

    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
    ------------------------------



  • 4.  RE: POST /users API Call: 500 Internal Server Error

    Posted Mon September 20, 2021 05:16 AM
    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
    ------------------------------



  • 5.  RE: POST /users API Call: 500 Internal Server Error

    Posted Wed April 12, 2023 11:50 AM
    ERROR Audit.Other.DISP.com.cognos.pogo.handlers.engine.ServiceLookupHandler [Default Executor-thread-51]
    4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj 4wd88Cl8w2G2yssjGqCGCMGqvv9qwyG9lllC4whj yG8289M924wv4G888G9sqlwq42yv4G928wyd8vjd NA
     
    10.0.34.4 58636 NA IBM Cognos 9916 Request http://www.ibm.com/xmlns/prod/cognos/contentManagerService/202209/ Failure
    <messages>
    <message>
    <messageString>CM-REQ-4342 An error occurred with the client.</messageString>
    </message>
    <message>
    <messageString>CM-REQ-4025 The location &quot;null&quot; 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
    ------------------------------



  • 6.  RE: POST /users API Call: 500 Internal Server Error

    Posted Sun April 16, 2023 02:39 AM

    The important error here is CM-REQ-4025 The location \"null\" is invalid 
    What request are you sending? Are you passing the correct namespace ID?



    ------------------------------
    Paul Mendelson
    ------------------------------



  • 7.  RE: POST /users API Call: 500 Internal Server Error

    Posted Wed April 12, 2023 11:50 AM

    I am also facing same issue in 11.2.4 version any fix for this.



    ------------------------------
    Raghava Vundavalli
    ------------------------------