-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional(Error Domain=com.kodlian.XMLRPC.error Code=1 "Error Unknown" UserInfo={NSLocalizedFailureReason=Error Unknown}) #13
Comments
It certainly due to a Fault response from the server. Please use a web proxy (like Charles Proxy) to capture the response of the server. In the latest version, you are now able to parse the Fault response. |
https://www.flickr.com/services/api/request.xmlrpc.html
i did like this and got failure result, what should i do , i spent 2-3 days on AlamofireXMLRPC but i didn't get response on many examples plz help me :'( i m crying . . :( |
Try with this, this will give you some clue about the issue. let paramsDict: XMLRPCStructure = ["name":"value", "name2":"value2"]
let params: [Any] = [paramsDict]
AlamofireXMLRPC.request("https://api.flickr.com/services/xmlrpc/", methodName: "flickr.test.echo", parameters: params).responseXMLRPC { (response: Response<XMLRPCNode, XMLRPCError>) in
if let error = response.result.error {
switch error {
case .Fault(node: let node):
print(node["faultString"].string)
default:
print(error)
}
} else if let value = response.result.value {
print(value)
}
} |
Hey Jérémy, |
I can provide some helps on the usage of my framework but without specific codes and questions I can't help you at all. |
okay just close it :( |
For one of my XMLRPC methods, I'm getting a really weird error:
Optional(Error Domain=com.kodlian.XMLRPC.error Code=1 "Error Unknown" UserInfo={NSLocalizedFailureReason=Error Unknown})
Any way to get anything more descriptive? What does this basically mean?
The text was updated successfully, but these errors were encountered: