{"action":"closed","issue":{"url":"https://api.github.com/repos/facetoe/zenpy/issues/227","repository_url":"https://api.github.com/repos/facetoe/zenpy","labels_url":"https://api.github.com/repos/facetoe/zenpy/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/facetoe/zenpy/issues/227/comments","events_url":"https://api.github.com/repos/facetoe/zenpy/issues/227/events","html_url":"https://github.com/facetoe/zenpy/issues/227","id":317205204,"number":227,"title":"users.create_or_update_many fails with APIException:\"InvalidEndpoint\"","user":{"login":"lvisintini","id":3267001,"avatar_url":"https://avatars0.githubusercontent.com/u/3267001?v=4","gravatar_id":"","url":"https://api.github.com/users/lvisintini","html_url":"https://github.com/lvisintini","followers_url":"https://api.github.com/users/lvisintini/followers","following_url":"https://api.github.com/users/lvisintini/following{/other_user}","gists_url":"https://api.github.com/users/lvisintini/gists{/gist_id}","starred_url":"https://api.github.com/users/lvisintini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvisintini/subscriptions","organizations_url":"https://api.github.com/users/lvisintini/orgs","repos_url":"https://api.github.com/users/lvisintini/repos","events_url":"https://api.github.com/users/lvisintini/events{/privacy}","received_events_url":"https://api.github.com/users/lvisintini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-24T12:35:11Z","updated_at":"2018-04-25T09:09:22Z","closed_at":"2018-04-25T09:09:22Z","author_association":"NONE","body":"Trying to update/create many users at the same time is failing:\r\n\r\n```\r\nzenpy = Zenpy(**settings.ZENDESK_CREDENTIALS)\r\nzendesk_users = [ZendeskUser(**user) for user in users]\r\nzenpy.users.create_or_update(zendesk_users)\r\n```\r\nresults in \r\n\r\n``APIException: {\"error\": \"InvalidEndpoint\", \"description\": \"Not found\"}``\r\n\r\nApparently, the zenpy is trying to interact with zendeks on the following: api/v2/users/create_or_update_many.json**.json**\r\n\r\nNotice the extra **.json** suffix.\r\n\r\nThis is happening in zenpy==2.0.1"}}
{"actor":{"display_login":"facetoe"}}