I have created this function:
@objc fileprivate func search() {
let test = Track.search(queries: [.queryString("hello")]) { [weak self] response in
if case .failure(let error) = response.response {
dump(error)
} else {
print("Success")
}
}
}
When I press a button that executes this function, the error is:
"-Soundcloud.SoundcloudError.forbidden"
What are the possible reasons for this error?
I have created this function: @objc fileprivate func search() {
When I press a button that executes this function, the error is: "-Soundcloud.SoundcloudError.forbidden" What are the possible reasons for this error?