Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
Tips for collapsed sections
You can add text within a collapsed section.
You can add an image or a code block, too.
puts "Hello World"Using a production authorization URL with a trial (or mismatched) client.
- Error Message:
Client not found - Client ID:
devp-v2-demo-dasxtrial-b69ffe954c5cd33c57a79a94780eb2ab(belongs to trial based on devp-v2-demo) - Authorization URL used:
https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/auth?response_type=code&client_id=devp-v2-demo-dasxtrial-b69ffe954c5cd33c57a79a94780eb2ab&scope=financial-api&redirect_uri=https%3A%2F%2Flocalhost%2F
The redirect_uri used in the authorization request is not registered for the API client.
Possible Issues:
-
The redirect_uri may contain a typo or formatting mismatch
-
The redirect_uri must exactly match one of the registered values, including the trailing slash
-
Error Message:
Invalid parameter: redirect_uri -
Details:
- redirect_uri used:
https://localhost - Registered redirect URI:
https://localhost/
- redirect_uri used:
One or more requested scopes are invalid or not enabled for the client.
Requirements:
- Scope names must exactly match the values configured on the server
- Multiple scopes must be space-delimited before URL encoding
Error URL:
https://localhost/?error=invalid_scope&error_description=Invalid+scopes%3A+financial-api+items+offline_access+orders-api&iss=https%3A%2F%2Fauth.lsk-prod.app%2Frealms%2Fk-series
Example of invalid scope values:
financial_api❌ should befinancial-apiitems-api❌ should beitems
Valid scopes configured for this client include:
financial-apiorders-apiitemsoffline_accessstaff-api
Possible Issues:
- Username or password is incorrect
- Using production credentials in trial (or vice versa)
- The login credentials are invalid for the selected product
Possible Causes:
- Authorization code expired (≈15 seconds)
- Code has already been used
- Code is malformed or invalid
Response:
{
"error": "invalid_grant",
"error_description": "Code not valid"
}Possible Causes:
- Missing Authorization header (Basic base64 encoded)
- Malformed or incorrect client credentials
Response:
{
"error": "invalid_client",
"error_description": "Invalid client or Invalid client credentials"
}Possible Causes:
- Redirect URI does not exactly match the one used during authorization
- Redirect URI contains a typo
Response:
{
"error": "invalid_grant",
"error_description": "Incorrect redirect_uri"
}Possible Causes:
- Refresh token expired
- Refresh token is invalid
- Refresh token is malformed or contains a typo