Skip to content
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

A system issue occured #68

Closed
anbublacky opened this issue Mar 22, 2017 · 22 comments
Closed

A system issue occured #68

anbublacky opened this issue Mar 22, 2017 · 22 comments

Comments

@anbublacky
Copy link

I'm using the latest version 0.40, I have searched existing issues, also googled could not find the error
I followed the guidelines mentioned in this package, i'm able to get the login interface for mobile when i give next after mobile number gets prefilled, i'm getting the following error.

"A system issue occured, Please try again"

@nikolay-radkov
Copy link

I am also having this error on react-native 0.41.2

@gaguirre gaguirre added the bug label Mar 23, 2017
@gaguirre
Copy link
Collaborator

Ok, do you have any extra info (logs, screenshots) that could help to fix it?
Thanks for reporting this issue!

@nikolay-radkov
Copy link

nikolay-radkov commented Mar 23, 2017

The problem is occurring if I am disabled the client access token flow in account kit dashboard. By their documentation, it should work and the response should contain short-lived access token. Instead, it shows the error above. Adb logcat is not showing anything.

@anbublacky
Copy link
Author

It is working when i change require App secret to no in developer dashboard

@pyankoff
Copy link

pyankoff commented Apr 4, 2017

Tried "Require App Secret" to NO, still getting the same error

EDIT: Found an issue with Info.plist (messed up fbappid and acountkit token). Working fine

@dp-singh
Copy link

dp-singh commented Apr 16, 2017

I am using account kit SDK in React Native for android, followed everything mentioned in the repo. After filling the phone number, it always shows System error occurred that to without any logs.
screenshot_1492342867

@gaguirre
Copy link
Collaborator

@dp-singh the integration seems to be ok, since the view you're seeing is provided by the Account Kit SDK. Apparently it's an internal issue, probably retrieved by the Account Kit service.
Could you see the Android logs?

@nikolay-radkov
Copy link

@dp-singh I have the same problem and it was because YES was set in Enable the client access token flow in account kit dashboard, but in the library configurations, responseType was the default one - token. It should be set to code if you want to get the authorization code on the client.

// Configures the SDK with some options
RNAccountKit.configure({
responseType: 'token'|'code' // 'token' by default, <------------- THIS SHOULD BE - code
....
})

@gaguirre
Copy link
Collaborator

Thanks @nikolay-radkov! It's something could be added to the documentation?
A PR would be great ;)

@jslz
Copy link

jslz commented Jun 9, 2017

hi, (thanks for this library!) for me it works on iOS but not on Android, I am facing the same situation - the fix by @nikolay-radkov doesn't yet seem to work for me. I will keep seeing if I can figure out anything, but would appreciate hearing from anybody else on Android.

@jayprakash1
Copy link

@jslz I was facing this issue as well. I made a mistake of using AccountKit app secret as ak_client_token. Perhaps check that once to be sure.

@rodnolan
Copy link

rodnolan commented Oct 3, 2017

I'm on Android, [email protected] and [email protected]. Just dropping a quick note here to help anyone who may have made the same dumb mistake that I made.

I solved my "A system issue occurred" problem by defining the correct value for my Account Kit Client Token in strings.xml. The problem wasn't with the library or the Account Kit infrastructure... the problem often lies somewhere between the keyboard and the chair. :-/

@prodhan
Copy link

prodhan commented Oct 11, 2017

I am using php. same problem. What can I do now?

@jitenbansal
Copy link

In AccountKit dashboard find "Enable Client Access Token Flow" and set it ON.
It worked for me.

@anuragprajapat
Copy link

Add Product-> Account Kit-> Advanced Settings -> Configure Keys

@rassemdev
Copy link

Thanks @nikolay-radkov your solution solved the problem.. Saved my day

@amanix007
Copy link

Thanks @nikolay-radkov

@tbanj
Copy link

tbanj commented Nov 22, 2018

Thanks @nikolay-radkov your solution works and after i changed it back to the .TOKEN it still work though at first initialization it have to be set to .CODE

@gHashTag
Copy link
Contributor

gHashTag commented Feb 2, 2019

I forgot to publish the application. After switching everything worked.

screenshot 2019-02-02 at 22 41 07

@jose920405
Copy link

@gHashTag

Do you think that is really necessary publish the app. I think that in dev mode should works. Can someone confirm?

@jose920405
Copy link

I did try to publish and the errors still appearing

@prabhat04011998
Copy link

Account kit is deprecated due to which it's showing "A system issue occurred. Please try again."..

M i right or anything else?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests