OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums OroCRM OroCRM – Installation/Technical Issues or Problems OroCRM and Zendesk integration

This topic contains 5 replies, has 2 voices, and was last updated by  Jorge 1 month ago.

  • Creator
    Topic
  • #40392

    Jorge
    Participant

    Greetings,

    I’m interested in using the integration of Zendesk and OroCRM, but the sync is not completed. I’ve followed all the steps on How to Setup (https://www.zendesk.com/apps/support/orocrm/?source=app_directory) and never understood what is the problem.

      The jobs oro_integration:sync_integration:1 and oro_integration:revers_sync_integration:1 status are “Running” or “Failed”, never got a “Success”.
      Zendesk’s API is enabled and there are requests with the token generated for OroCRM. Even, I can create tickets using Google Chrome Dev Console with the token.
      I installed the latest version of OroCRM and v4.0.0 of OroCRM and Zendesk integration.
      My OroCRM installation is running on a Debian 10 machine with nginx and PHP 7.1, behind a firewall. A port forwarding rule to ports 80 and 443 was enabled.

    Any information and help will be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #40399
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Hi Jorge,

    Please check the log file for an error message that should explain why the job is failed.
    https://symfony.com/doc/current/logging.html#where-logs-are-stored

    #40402

    Jorge
    Participant

    I got these errors:

    The important message is “Couldn’t authenticate you”. But, I connected to Zendesk, using the API Request Site of Zendesk: https://developer.zendesk.com/requests/new. Only if I use the email address without /token i get the same error message.

    I think that the problem is with the Email, according to Zendesk API’s site, the API Email for basic auth must have /token at the end, i.e. show email/token, but in the form of OroCRM config I can’t add /token to the Email address.

    For privacy reasons, I changed the URL to example.zendesk.com.

    Thanks!

    #40405
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    At OroCRM you must not add the token to an email, instead, fill the token in a separate field. Here is the full documentation:
    https://oroinc.com/orocrm/doc/current/admin-guide/integrations/zendesk-integration

    Make sure all the credentials in a form, including the token are valid.

    #40407

    Jorge
    Participant

    I followed all the steps, the API token field ONLY has the token generated by Zendesk and is valid, API Email only has the administrator email. Also is active.

    What I mean is that in Zendesk Help, https://developer.zendesk.com/rest_api/docs/support/introduction#basic-authentication they explain that in the use of Basic Auth, the request has to be made (using curl) as:

    I don’t know exactly how Oro makes the requests to Zendesk, to see if the request is made in the same way or not.

    #40528

    Jorge
    Participant

    Hello.

    I want to mention that when I select to Schedule a Sync, the job keeps in a loop between the statuses “Running” and “Failed Redelivered”. Also, the logs from ./oroapp/var/log/prod.log shows that the user is not authorized by Zendesk, but again, the token is valid, either with the Email and URL.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No