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

Adaptive script client error getting logged as server errors #21084

Open
Yoshani opened this issue Sep 10, 2024 · 0 comments
Open

Adaptive script client error getting logged as server errors #21084

Yoshani opened this issue Sep 10, 2024 · 0 comments

Comments

@Yoshani
Copy link
Contributor

Yoshani commented Sep 10, 2024

Describe the Issue:
Below client errors were logged as a result of client errors in the adaptive script.
TID: [39009] Tenant: [xxxxxx] [2024-09-09 05:20:58,074] [20240909T052057Z-r17fd4bbf4fxbxg7xsw8rsnf700000000gdg00000000a3kt] : iam-cloud-carbon : ERROR {org.wso2.carbon.identity.application.authentication.framework.config.model.graph.openjdk.nashorn.JsOpenJdkNashornGraphBuilder} - Event handler : authenticationOptions is not a function : [object Array]

TID: [39009] Tenant: [xxxxxx] [2024-09-09 05:20:57,456] [20240909T052057Z-r17fd4bbf4f6c5scnutqyq3v980000000fm000000001htcd] : iam-cloud-carbon : ERROR {org.wso2.carbon.identity.application.authentication.framework.config.model.graph.js.JsClaims} - Error when getting claim : http://wso2.org/claims/identity/country of user: DEFAULT/***org.wso2.carbon.user.core.UserStoreException: org.wso2.carbon.user.core.UserStoreClientException: Mapped attribute cannot be found for claim : http://wso2.org/claims/identity/country in user store : DEFAULT| at org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:264) ~[org.wso2.carbon.user.core_4.10.21.jar:?]| at

Tenant: [xxxxxx] [2024-09-10 05:15:48,820] [20240910T051548Z-r1b66d49558h9vk8w7xu77f11n0000000tag00000000dur0] : iam-cloud-carbon : ERROR {org.wso2.carbon.identity.application.authentication.framework.config.model.graph.js.JsLogger} - Failed to assign roles to the user.

Expected behavior:
The core exception is UserStoreClientException and therefore it should not be logged as a server error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Open
Development

No branches or pull requests

1 participant