-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure your phone has Internet connection. #216
Comments
The connection id doesn't seem to be valid, where did you get that? Also, please make sure the redirect URL is correctly configured in your service on IFTTT Platform. |
help me. |
@lzanita09 How are you so certain that the connection id doesn't seem to be valid?
The same error occurs for both the above mentioned connection Ids in the sample app. |
@Bac-Pham the redirect URL is defined on our platform, please take a look at this document for details. |
@RethinavelPillai the connection ID that you have in your code snippet, Also, |
@lzanita09 It would be helpful if the sdk could expose these errors to the client code so we can attempt to handle them gracefully and debug more easily during development. I wanted to cache the user token so I don't have to request a new one every time I show the button, but if the token is revoked, I have no way to detect it and the button just fails to load and gives the user this (not very helpful) error message. (I'll admit, I've fallen back on the generic "Network Error" message countless times myself, but it's really not proper error handling) |
I had followed the same code mentioned here. But Whenever I try to connect, I am getting this error always. Logs didn't help. What could be the issue?
`
class MainActivity : AppCompatActivity() {
lateinit var connectButton: ConnectButton
}
`
and here is the manifest file
`
The text was updated successfully, but these errors were encountered: