Getting "invalid provider" error while fetching the otp from gmail account in katalon studio version 10.1

We are trying to fetch otp from gmail in katalon, which is required for logging in to the application.

However, getting the below error :

</
[ERROR] Exception while reading OTP email: invalid provider
javax.mail.NoSuchProviderException: invalid provider
at javax.mail.Session.getStore(Session.java:655)
at javax.mail.Session.getStore(Session.java:621)
at javax.mail.Session.getStore(Session.java:600)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
/>

Need help to resolve this issue.

1 Like

A similar issue in the Stackoverflow here:

https://stackoverflow.com/questions/26747053/javamail-api-error-javax-mail-nosuchproviderexception-invalid-provider

1 Like