1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

  2. The forum you are viewing relates to Kayako Classic. If you signed up or upgraded to the new Kayako (after the 4th July 2016), the information in this thread may not apply to you. You can visit the forums for the new Kayako here.

Help using PHP-API

Discussion in 'Developing, APIs and extending' started by philfry, Aug 15, 2012.

  1. philfry

    philfry New Member

    I'm trying to use the PHP API and have enabled the API on Resolve. I get this error when trying to use the API:

    Fatal error: Uncaught exception 'kyException' with message 'CURL error: Connection time-out (28)' in /Users/aj/hg/dashboard/inc/kyRESTClient.php:191 Stack trace: #0 /Users/aj/hg/dashboard/inc/kyRESTClient.php(219): kyRESTClient->processRequest('/Tickets/Ticket...', 'GET', Array) #1 /Users/aj/hg/dashboard/inc/kyObjectBase.php(196): kyRESTClient->get('/Tickets/Ticket...', Array) #2 /Users/aj/hg/dashboard/application/models/ticketlist_model.php(11): kyObjectBase::getAll() #3 /Users/aj/hg/dashboard/application/controllers/ticketlist.php(9): ticketlist_model->ticketlist() #4 [internal function]: ticketlist->index() #5 /Users/aj/hg/dashboard/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #6 /Users/aj/hg/dashboard/index.php(202): require_once('/Users/aj/hg/da...') #7 {main} thrown in /Users/aj/hg/dashboard/inc/kyRESTClient.php on line 191

    Has anyone seen an error like this when trying to use the API?

  2. Tomasz Sawicki

    Tomasz Sawicki Established Member

    Well, obviously the Library can't connect to your Kayako server. Check the API URL you provided at Library initialization.

Share This Page