Closed raquelxmoss closed 5 years ago
I'm also having similar issue with version 1.14.4
@raquelxmoss Well, answering to your and my own problem. Apparently, in the readme, it stated that we can manually specify it
bekicot.zendesk.com/api/v2
and then it will use API v2 as the endpoint
Probably Zendesk kept bekicot.zendesk.com/tickets
endpoint for backward compatibility that returns that errors. The error also confused me.
I think this can be closed. The documentation states that you must specify an API url ending with /api/v2
: https://github.com/zendesk/zendesk_api_client_rb/wiki/Configuration#mandatory-options
Hey there. I'm getting Zendesk set up in our Rails app, and, following the documentation I've set up the client with basic auth, and attempt to create a ticket as follows:
The response I get back seems to indicate that
ZendeskAPI::Ticket.create
is using API v1, and is unable to authenticate me.Making a request in Postman to
/api/v2/users/me.json
with the same basic auth credentials works just fine.I'm using gem version
1.14.1
, and I have an initializer set up for the client as follows: