question

rafaeladel avatar image
rafaeladel asked David Marginian Deactivated commented

Getting No token type: com.clover.account.token.app

Clover FlexAPI TokenEmulator
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

javichaques avatar image javichaques commented ·
0 Likes 0 ·
Bryanne Vega avatar image Bryanne Vega commented ·
0 Likes 0 ·

1 Answer

Frank Faustino avatar image
Frank Faustino Deactivated answered David Marginian Deactivated commented
6 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wsadiq avatar image wsadiq commented ·

Hello,


I am getting the same error but I am not using an emulator. I am getting this error in Clover Station 2018 Dev Kit. I started getting this recently. My target SDK version is 25.


0 Likes 0 ·
Bryanne Vega avatar image Bryanne Vega wsadiq commented ·

Share code sample please & log

0 Likes 0 ·
wsadiq avatar image wsadiq Bryanne Vega commented ·

Please see the following snippets.


Code: https://bitbucket.org/snippets/kikkle/qnz56x/cloverapputiljava

line 68 shows the account object being obtained and line 159 shows attempt to obtain the auth token.


logcat: https://bitbucket.org/snippets/kikkle/EbGxjx/logcattxt

line 277 shows the relevant messages.


There are a few things to note. This app is in production. The last release was built in January 2019 and is being successful used by many clients. New accounts are also being created as recently as yesterday.


I have taken the same code from github and rebuilt and deployed it on my Clover Station 2018 DevKit and it does not run anymore. I have tried to build with clover android sdk build 228.3 as well as latest release with same result.


I am very puzzled as to what has changed.


One thing I do notice is a special character in the email name in the obtained account. I have not changed any of my account settings in years so not sure if that is significant or not.


Any help or insight would be greatly appreciated.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community