#Ramya Chekuri - ACH token

1 messages · Page 1 of 1 (latest)

swift garden
#

Hello, can you send me the snippet of code where you are seeing this error?

runic cosmos
swift garden
#

Thank you, looking in to this. Can you send me the text of that code as well?

runic cosmos
#

Could you send any implementation link for token creation using bank detail.. I will try and let you know

swift garden
#

What exactly is the error that you are seeing?

runic cosmos
#

If I give wrong account details.. is it throw error??

swift garden
#

Yes, wrong account details can cause an error. It looks like you have the test account details from our sample though so that is likely not the issue if you are in test mode

#

If you can send the exact error message that you are getting, that will be helpful in debugging your issue

runic cosmos
#

ok 5 min'

runic cosmos
#

android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1459)
at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:102)
at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:90)
at java.net.InetAddress.getAllByName(InetAddress.java:787)
at com.android.okhttp.Dns$1.lookup(Dns.java:39)
at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:175)

#

getting this issue

slim remnant
#

@runic cosmos as the error says , you can't do a network request on the main thread in Android, like the network request you might be making to your backend server. Hard to say without seeing your code. We have examples in all our sample projects that run the network requests in ways that don't hit this issue.