Question

Amazon SDK throwing 'The operation is already in progress.'

  • 25 January 2022
  • 1 reply
  • 133 views

Badge +5

When a user tries to purchase a subscription on my app, Amazon acknowledges a successful payment in the form of dialog box. Upon closing the dialog box, loader continues and app gets stuck.

RevenueCat SDK throws the following error:

PurchasesError(code=OperationAlreadyInProgressError, underlyingErrorMessage=null, message='The operation is already in progress.')

Kindly look into this.

Thanks,


1 reply

Userlevel 5
Badge +10

Hey @Arqam Gadit 

That error message indicates that an identical operation is already in progress. For example, making two identical purchase attempts at the same time. Can you share debug logs that reproduces the behavior that you’re seeing? Please ensure the debug logs include the entire app life-cycle, including the messages printed during initialization of the SDK. 

If you’re testing in sandbox, no worries about redacting the app user ID. 

Reply