Home Forums Support Zapier connection problem – self hosted

This topic contains 5 replies, has 2 voices, and was last updated by  Hillel Coren 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20440

    custombydesign
    Participant

    G’day,

    i have created the API code in invoice ninja.
    Vhen trying to connect to zapier i get the following error message:

    authentication failed: Got 500 calling GET https://www.custombydesign.com.au/public/api/v1/ping?v2=true, expected 2xx.

    Can you please let me know what i need to do in order to get this two apps connected.

    Thank you very much
    Ivan

    #20441

    Hillel Coren
    Keymaster

    – Are you using the latest version of the web app?

    – Are there any details about the error in storage/logs/laravel-error.log

    #20442

    custombydesign
    Participant

    `[2019-04-18 13:51:51] production.ERROR: proc_open() has been disabled for security reasons {“context”:”PHP”,”user_id”:2,”account_id”:”2″,”user_name”:”Ivan Vujic”,”method”:”POST”,”user_agent”:”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36″,”locale”:”en”,”ip”:”202.161.121.67″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”setup”} []
    [2019-04-18 17:12:02] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:12:04] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:13:13] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”34.227.222.129″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:13:15] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:15:28] production.ERROR: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. {“context”:”PHP”,”user_id”:1,”account_id”:”1″,”user_name”:”System Administrator”,”method”:”POST”,”user_agent”:”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36″,”locale”:”en”,”ip”:”202.161.121.67″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”setup”} []
    [2019-04-18 17:15:37] production.ERROR: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. {“context”:”PHP”,”user_id”:1,”account_id”:”1″,”user_name”:”System Administrator”,”method”:”POST”,”user_agent”:”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36″,”locale”:”en”,”ip”:”202.161.121.67″,”count”:2,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”setup”} []
    [2019-04-18 17:15:41] production.ERROR: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. {“context”:”PHP”,”user_id”:1,”account_id”:”1″,”user_name”:”System Administrator”,”method”:”POST”,”user_agent”:”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36″,”locale”:”en”,”ip”:”202.161.121.67″,”count”:3,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”setup”} []
    [2019-04-18 17:18:24] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:19:09] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:19:11] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:21:29] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:21:30] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:21:56] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”34.227.222.129″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:21:58] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Zapier”,”locale”:”en”,”ip”:”100.25.39.53″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []
    [2019-04-18 17:29:34] production.ERROR: ***ErrorException*** [0] : /home/adelai51/public_html/app/Http/Controllers/AccountApiController.php [Line 41] => Trying to get property of non-object {“context”:”PHP”,”user_id”:0,”account_id”:0,”user_name”:””,”method”:”GET”,”user_agent”:”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36″,”locale”:”en”,”ip”:”202.161.121.67″,”count”:1,”is_console”:”no”,”is_api”:”no”,”db_server”:”mysql”,”url”:”api/v1/ping”} []

    #20443

    Hillel Coren
    Keymaster

    As a next step I suggest confirming your API token works using cURL

    https://invoice-ninja.readthedocs.io/en/latest/api.html#reading-data

    Also, please confirm you’re using the latest version of the web app.

    #20444

    custombydesign
    Participant

    invoice ninja version: 4.5.12
    what do i need to do to confirm that my api is using cURL?
    Cheers

    #20445

    Hillel Coren
    Keymaster

    For example, see if you can load the list of clients using the API token.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in: