We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have connect to the socket now I want to authenticate with a PIN I have received the PIN after that I tried to verify but 400 error.
let verificationRequest: [String: Any] = [ "type": "request", "id": "verify_0", "payload": [ "pin": 1212121 ] ] if let jsonData = try? JSONSerialization.data(withJSONObject: verificationRequest, options: []), let jsonString = String(data: jsonData, encoding: .utf8) { socket?.write(string: jsonString) }
{"type":"error","id":"verify_0","error":"400 unknown message type","payload":{}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Question
I have connect to the socket now I want to authenticate with a PIN I have received the PIN after that I tried to verify but 400 error.
{"type":"error","id":"verify_0","error":"400 unknown message type","payload":{}}
The text was updated successfully, but these errors were encountered: