Getting Error code: InvalidMsaTicket when getting the event

sumit mundra 6 Reputation points
2022-10-26T07:19:35.377+00:00

Graph service exception Error code: InvalidMsaTicket
Hello, With Graph API, I am trying to get my calendar events.
But Graph SDK keeps returning error as below.
There is no issue with authentication (using device code).

Throwable detail: com.microsoft.graph.http.GraphServiceException: Error code: InvalidMsaTicket
Error message: ErrorCode: 'PP_E_RPS_REASON_OFFERACTIONS_INVALID'. Message: ''

I am using graph api with swift lang with below pod

'MSAL', '~> 1.1.13'
pod 'MSGraphClientSDK', ' ~> 1.0.0'
pod 'MSGraphClientModels', '~> 1.3.0'

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,084 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Wojciech Sobiesiak 91 Reputation points
    2023-08-23T05:52:29.76+00:00

    The same issue.

    EwBIA+l3BAAUshnlKUacyQ6QKOqcUGR00eGLdnwAAWyrJ8WrHU/f0VMy+vxvJRWtSc7V5kGdIktxslZOjqSIAxBi1e0NU97hTwExomcrZG4YVLNfC32jO9CeSZVVrNao1X9LrTMaNWUO4sRnzoWAWy5eLPXFtM+DURP90PuCFEJZ47tT0uDURVslL8GeGC1pGN9rA0l5nBCh7IVagxnQyHiQSRfDQrev7MR6QPzZc++qwEOGkn5AXGG22IsY2rB62GLfI8JTgQXXW1SB9WYQzzWfDletw+rZMxtdkKsfgbN+RpCLROLx83qSPFlQc8zfHJeMniZLuPbCWj5Q5XqyAmM2IQ5mpfvJovUJb7oIv/QThsFgVCJELe+XZSXvun8DZgAACOOozRB/X1L9GAIZiKOZdtUiOalNWrHB9IVITaqajOf1Wiq5xSATjJUmDxcZ8HDAwbE8mOFwplerHSOGqJ37HvvYBgF/RuJZS0BGdEmLgmLnIMREiDULOEcgmjUxiEYfp7skcHhC5Ocw9aelWED6AAB1XD8J98CuVSVdDGnyzyf9dX0Dep3O/pvW/B+tK5Mehh3kY5cicetemDbGhr5lFwylwKuxSbEjvHtvXXHtyEv4g6C9XegUz/AK7QxnCHKQWeyQQ+LcXwIHd0RucyoPtvhyxrf+aB0/dLTyNz2sbY7dyRw7lLHSIM1hvUeG6iwtmJ3wJWuJhChFJNM0invKlbJ27ntc3Dr+f5DQQJV6y90xT9L9Ej82VIiMKu1iN85Xpt64VMVd9MwmBJFd1XHz09S7A9spD9/yit5cbD2p6mYtZca1+l4qUXNJrOcKy+ctSCtJsKLDhHlhrkn1y6dXj9MtgC49Bei91/4w0eYAKh3QLfEe30XjZZD9pUVFFGV6hMw2o/iX901qaA6J588s100JlVfO3ZOnFg+SgCtIbt2o/tDIpO7N25GLUwt50tAeUjf74gq9eJiWaPLFNtu/vZadpJT99TNn/K36WcxWpKJNE1kMcLSOEulvvTeA7DwHJonYqHwb80Tw4n08pHvb7WDK3BepEhMIsFYvokpxyyGilXAS79D6xhcFSXQ/Isa7nbb+bFbfMU0N0wU+GXnupO8sfEoC
    Email sending failed with status code: 401 Response: {"error":{"code":"InvalidMsaTicket","message":"ErrorCode: 'PP_E_RPS_CERT_NOT_FOUND'. Message: ' Internal error: spRPSTicket->ProcessToken failed. Failed to call CRPSDataCryptImpl::UnpackData: Internal error: Failed to decrypt data. :Failed to get session key. RecipientId=292841. spCache->GetCacheItem returns error.:Cert Name: (null). SKI: b219e529469cc90e9028ea9c506474d1e18b767c...'","innerError":{"oAuthEventOperationId":"00fb40d3-d1f7-4ca5-815d-1f3a2178badf","oAuthEventcV":"1ws1rAewEsU3AOOfNTHW9w.1","errorUrl":"https://aka.ms/autherrors#error-InvalidMsaTicket","requestId":"ac350bd7-b007-c512-3700-e39f3531d6f7","date":"2023-08-23T05:43:45"}}}

    0 comments No comments