Search code examples
rapizendesk

ZendeskR Producing the following error when trying to connect to api


I am fairly new to using APIs and trying to use the zendesk API now through R using the ZendeskR package. I belive I have connected to it however I keep getting the following error whenever I try to query it.

Here is my code:

library(zendeskR)
library(rjson)
zendesk(username, password, url)
ticket <- getTicket('20150')

The username, password and url are all variables that I have assigned the correct values.

The following error that I get when I run it is this:

Error in function (type, msg, asError = TRUE)  : 
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Please help as I am unsure on what this error means or what I am doing wrong.

Thanks.


Solution

  • TLS v1.1 is no longer accepted by Zendesk, please use TLS v1.2.