lyft / Lyft-iOS-sdk

Public Lyft SDK for iOS
Other
43 stars 27 forks source link

LyftSDK.ResponseType.unauthorized Error #20

Open sumitioskipl opened 6 years ago

sumitioskipl commented 6 years ago

Hellonti Hellouchkine Team, Greetings...!!!

@mleventi @theatrus @ryancox @woodrow @andrewmartin

let location = CLLocationCoordinate2D(latitude: 37.7833, longitude: -122.4167)

        LyftAPI.rideTypes(at: location) { result in
            result.value?.forEach { rideType in
                print(rideType.displayName)
            }
        }

When i am trying to calling this method everytime i m got this error please

▿ Result<Array<RideType>, LyftAPIError>
  ▿ failure : LyftAPIError
    - message : nil
    - reason : "unknown"
    ▿ status : Optional<ResponseType>
      - some : LyftSDK.ResponseType.unauthorized
isaacraja15 commented 5 years ago

Did you get solution?. We also face same issue