You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A brief but thorough description of the issue.
the same code run well on iPhone6 simulator(version iOS9.3), but when I turn to iPhone6 simulator(version iOS10), it seems have authorization problem.
Reproduction Steps
Detailed steps to reproduce the issue.
Swift Code(VimeoNetworking also run well on iOS9.3 simulator, but when I turn to iOS10, VimeoNetworkingExample-iOS tell me I misconfig Client Identifier):
in any file in which call open vimeo authorization page:
let url = VIMSession.sharedSession()!.authenticator.codeGrantAuthorizationURL()
UIApplication.sharedApplication().openURL(url!)
Issue Summary
A brief but thorough description of the issue.
the same code run well on iPhone6 simulator(version iOS9.3), but when I turn to iPhone6 simulator(version iOS10), it seems have authorization problem.
Reproduction Steps
Detailed steps to reproduce the issue.
Swift Code(VimeoNetworking also run well on iOS9.3 simulator, but when I turn to iOS10, VimeoNetworkingExample-iOS tell me I misconfig Client Identifier):
func application(application: UIApplication,
openURL url: NSURL, options: [String: AnyObject]) -> Bool {
Expected Behavior
What do you expect to happen as a result of the reproduction steps?
it should jump to debugPrint(v) sentance and then I can get video information
Actual Behavior
What currently happens as a result of the reproduction steps?
In dubgu mode at the sentance "print("error : (err)")", I got the following information:
error : Optional(Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x60800023a040> { URL: https://api.vimeo.com/me/videos } { status code: 401, headers {
"Accept-Ranges" = bytes;
"Cache-Control" = "no-cache, max-age=315360000";
Connection = "keep-alive";
"Content-Encoding" = gzip;
"Content-Length" = 82;
"Content-Type" = "application/vnd.vimeo.error+json";
Date = "Wed, 21 Sep 2016 18:57:39 GMT";
Expires = "Sat, 19 Sep 2026 18:57:39 GMT";
"Fastly-Debug-Digest" = 671da88c3ec81bbd101a0bb851a90184165c1f4f3599229b0eb782c555e41ae7;
Server = nginx;
"Strict-Transport-Security" = "max-age=15552000; includeSubDomains; preload";
Vary = "Accept,Vimeo-Client-Id,Accept-Encoding";
Via = "1.1 varnish, 1.1 varnish";
"X-Cache" = "MISS, MISS";
"X-Cache-Hits" = "0, 0";
"X-RateLimit-Limit" = 100;
"X-RateLimit-Remaining" = 96;
"X-RateLimit-Reset" = "2016-09-21T19:12:39+00:00";
"X-Served-By" = "cache-iad2121-IAD, cache-ord1729-ORD";
"X-Timer" = "S1474484259.170269,VS0,VE52";
} }, NSErrorFailingURLKey=https://api.vimeo.com/me/videos, com.alamofire.serialization.response.error.data=<7b226572 726f7222 3a22596f 75206d75 73742070 726f7669 64652061 2076616c 69642061 75746865 6e746963 61746564 20616363 65737320 746f6b65 6e2e227d>, NSLocalizedDescription=Request failed: unauthorized (401)})
(lldb)
The text was updated successfully, but these errors were encountered: