Rick Choi
Rick Choi

Reputation: 29

IBM MobileFirst Foundation v8 "Access Disabled" gives 500 error

After setting "Access Disabled" on MFF Console for an app, the app is supposed to get 403 "APPLICATION_DISABLED" when trying to connect to the server via WLAuthorizationManager.obtainAccessToken(), but the app gets 500 "API_INVOCATION_FAILURE", as the following screen capture:

enter image description here

Unfortunately, I could not find any previous cases of this error here or in other technical forum. What would cause MFF server returning 500 API_INVOCATION_FAILURE error from calling obtainAccessToken() API (even without calling any adapter procedure)?

Upvotes: 1

Views: 195

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

I tested and this works for me. I believe this may be related to a recent requirement by Apple to enable the "Keychain sharing" capability in Xcode 8 (otherwise requests will fail, and obtainAccessToken is basically a request).

Try enabling Keychain sharing and see if this is now resolved.

Upvotes: 1

Related Questions