Invalid OAuth2 Credentials in Uber SDK for android
问题 Below is my code to retrieve user profile. My login is successful , but when I try to fetch email address, I get the above error: private void initializeUber(){ if(!UberSdk.isInitialized()) { SessionConfiguration config = new SessionConfiguration.Builder() // mandatory .setClientId(AppConstants.UBER_CLIENT_ID) // required for enhanced button features .setServerToken(AppConstants.UBER_SERVER_TOKEN) // required scope for Ride Request Widget features .setScopes(Arrays.asList(Scope.PROFILE)) //