Connection time out Error for Sharepoint folder/ O365 plugin

Error:

Resolutions:
- Please check if correct proxy details should be configured for the client server/ Process-studio.
- Then perform test connection. It will throw exact error.
- If Microsoft API error for client secret occurred on Test connection then please check Application type.
- If Application type is Web then suggest to create new application of type Public Client/native (mobile & desktop) in Azure AD and generate Refresh token.
For One Drive/share point folder mainly it is Public Client/native (mobile & desktop).