- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-04-2026 01:50 PM
I created an OAuth2 client application by following the guidance in the article below:
https://community.cyberark.com/s/article/Securing-OAuth2-API-Workloads-on-CyberArk-ISPSS?t=1772659821139
However, when I use the generated bearer token, the request fails with a “JWT Token invalid” error.
{
"ErrorCode": "CAJWT001E",
"ErrorMessage": "Invalid JWT token."
}I have tested this using Postman, cURL, and PowerShell, and the same error occurs in all cases.
Could you please advise on what might be causing this issue or what additional configuration I should verify.
If use tokenplatform it endpoint API works fine.
03-06-2026 07:32 AM
Hi
The error CAJWT001E occurs because tokens generated via a Custom OAuth2 Client are only intended for CyberArk Identity APIs. If you are calling other platform services (like Privilege Cloud), the token will be rejected because it lacks the required platform-level claims.
Since you confirmed that the platformtoken endpoint works, you should use that for your integration as it is the standard for ISPSS workloads.
Adding this two docs for better understanding:
https://docs.cyberark.com/identity/latest/en/content/coreservices/authenticate/oauth2-client.htm
https://api-docs.cyberark.com/create-api-token/docs/create-api-token
03-06-2026 07:32 AM
Hi
The error CAJWT001E occurs because tokens generated via a Custom OAuth2 Client are only intended for CyberArk Identity APIs. If you are calling other platform services (like Privilege Cloud), the token will be rejected because it lacks the required platform-level claims.
Since you confirmed that the platformtoken endpoint works, you should use that for your integration as it is the standard for ISPSS workloads.
Adding this two docs for better understanding:
https://docs.cyberark.com/identity/latest/en/content/coreservices/authenticate/oauth2-client.htm
https://api-docs.cyberark.com/create-api-token/docs/create-api-token
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

