SAP Knowledge Base Article - Preview

3808535 - Email Sender OAuth - GraphServiceException - Default folder Root not found

Symptom

  • SAP Process Integration/Process Orchestration mail sender channel configured with OAuth authentication is in error state after token refresh:
    - Exception during mail processing: com.microsoft.graph.http.GraphServiceException: Error code: ErrorItemNotFound; Error message: The specified object was not found in the store., Default folder Root not found.
    - Exception of type com.sap.sql.log.OpenSQLException caught: Failed to set the parameter 3 of the statement >>UPDATE XI_AF_OAUTH_CACHE SET TOKEN_ID = ?, EXPIRES_AT = ?, REFRESH_TOKEN = ?,  REFRESH_TOK_EXP_AT = ? WHERE KEY_ID = ?<<: Cannot assign an empty string to a parameter with JDBC type >>CLOB<<..
    - Affected request: GET https://graph.microsoft.com:443/v1.0/users/<EMAIL ID>/mailFolders?%24top=50
    SdkVersion : graph-java/<version> 


Read more...

Environment

  • SAP NetWeaver

Product

SAP NetWeaver 7.5

Keywords

OAuth Token Refresh, Mail Sender Channel, GraphServiceException, ErrorItemNotFound, Default folder Root not found, Microsoft Graph API, mailFolders, XI_AF_OAUTH_CACHE, OpenSQLException, Cannot assign an empty string to CLOB, REFRESH_TOKEN, OAuth Cache Update Failure, Process Integration, PI, PO, Process Orchestration
, KBA , BC-XI-CON-MAI , Mail Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.