Symptom
- Learning Connectors job intermittently 'Aborted' or remains in 'INIT - Started'.
- Connector error log shows 401 Unauthorized with AuthenticationFailed and details "[AUTH0018] The token expired. Please generate a new token".
- Backend logs may include: HttpClientErrorExcepción$Unauthorized (401 : "{"error":{"code":"AuthenticationFailed","message":"Authentication service failed to return token.","details":"[AUTH0018]The token expired at 6/20/26 2:00 AM. Please generate a new token."}}.
Environment
- SAP SuccessFactors Learning
Reproducing the Issue
- Schedule the connector job in SuccessFactors Learning.
- Monitor the job status and observe it remains in INIT - Started or Aborted unexpectedly.
- Open the connector error log and note 401 Unauthorized with AuthenticationFailed and details "[AUTH0018] The token expired. Please generate a new token".
Cause
The caching mechanism in PlateauOAuth2RestTemplateInterceptor replayed expired tokens due to the absence of a pre-expiry refresh buffer and failure to recognize the Vault error "[AUTH0018]" as requiring a token refresh.
Resolution
- Learning Engineering updated the OAuth token refresh logic in PlateauOAuth2RestTemplateInterceptor to include a pre-expiry refresh buffer and to recognize the "[AUTH0018]" error for proper refresh.
- A permanent fix will be delivered with the 2H 2026 (b2611) release. Refer to the product release and roadmap for timelines. SAP SuccessFactors Product Release & Road Map
See Also
Keywords
[b2611], init - started, job code connector, lms connector, 401 unauthorized, authenticationfailed, auth0018, token expired, oauth2, token refresh, cache, vault, tenant secret, intermittent, connector stuck, plateauoauth2resttemplateinterceptor, aborted, job stuck, connector failed , KBA , LOD-SF-LMS-CON , Connectors , Known Error
Product
SAP SuccessFactors Learning 2605
SAP Knowledge Base Article - Public