Group Group Group Group Group Group Group Group Group

Chapter 24 (MVVM) API Error Running Starter/Final

When running the starter project (and final as well), after hooking up the iOS View Controller bindings, I’m getting this rxFatalErrorInDebug API error:

[Response]: <NSHTTPURLResponse: 0x600001b708e0> { URL: https://api.twitter.com/1.1/lists/statuses.json?owner_screen_name=icanzilb&slug=RxSwift } { Status Code: 404
[Response Body]:
{"errors":[{"code":34,"message":"Sorry, that page does not exist."}]}
[Result]: SUCCESS

The request url seems to be correct as per the docs (https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses), and i can see the list here: https://twitter.com/i/lists/816041077945810944

I found that if I change the params for the API call to just var params = ["list_id": "816041077945810944"] to get by the exact id, it works…it just doesn’t work via the combination of the owner_screen_name and slug used in the code, which the api docs say should work:

You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you’ll also have to specify the list owner using the owner_id or owner_screen_name parameters.

Any ideas about what the issue might be?