The solution is to
upgrade SCDF Rest Client to
v2.5.3 or higher.
There is a bug in SCDF Rest Client such that the OAuth2 token not refreshed. This will lead to 401 unauthorized failures once the token is expired. The bug is on the SCDF client-side, not the server.
There are different ways to use and interact with SCDF, GUI, API, Client library, or Shell. Upgrading the SCDF tile upgrades the client version within the UI. You may need to update client libraries used by applications or SCDF shell version if they contain a client version with this bug.
Affected versions of SCDF Rest-client: 2.3.x to 2.5.2
See
SCDF release notes v1.8.1 -
> "
Fixed a problem with OAuth 2.0 refresh token expiration"See
GitHub PR: ->
"Make Sure OAuth2 token is refreshed as needed"