lyft / lyft/Lyft-iOS-sdk

LyftSDK.ResponseType.unauthorized Error

Open
#20 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
46
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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, LyftAPIError>
▿ failure : LyftAPIError
- message : nil
- reason : "unknown"
▿ status : Optional
- some : LyftSDK.ResponseType.unauthorized

```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the LyftAPI.rideTypes(at:) entry point shown in the report and reproduce the unauthorized response using the provided coordinates. Trace how the SDK handles this response and verify the authorization setup; done means the cause is identified and the call no longer returns LyftSDK.ResponseType.unauthorized.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api, authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.