Getting Error code: InvalidMsaTicket when getting the event

sumit mundra
1
Reputation point
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'