I am trying to access the Rides API (specifically the history endpoint). However, when I specify the scope, I cannot log-in via SSO because an exception is raised saying "Your app is not authorized for the requested scopes"
If I pass an empty list for scopes, then I can login via SSO, but when I try and fetch my history, I get an internal server error:
let ridesClient = RidesClient()
ridesClient.fetchTripHistory { (history, response) in
guard let history = history?.history else {
print("\(response.error?.title) - Code: \(response.error?.code)") // prints 'Optional("We have experienced a problem.") - Code: Optional("internal_server_error")'
return
}
print("Loaded \(history.count) rides")
}
I assume this is because my application is not authorized to access these scopes, but I see no option to authorize it in the developer console.
I have set the redirect URI and the privacy policy URL. As a single developer, I do not have a Uber Business representative or Uber point of contact, and I can't find any information on how to get one. It seems other users have been having this issue as well.
I am trying to access the Rides API (specifically the history endpoint). However, when I specify the scope, I cannot log-in via SSO because an exception is raised saying "Your app is not authorized for the requested scopes"
If I pass an empty list for scopes, then I can login via SSO, but when I try and fetch my history, I get an internal server error:
I assume this is because my application is not authorized to access these scopes, but I see no option to authorize it in the developer console.
I have set the redirect URI and the privacy policy URL. As a single developer, I do not have a Uber Business representative or Uber point of contact, and I can't find any information on how to get one. It seems other users have been having this issue as well.
https://twitter.com/batch08/status/1195433657239891968
What is the resolution?