Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Endpoint Error When Attempting To Update Tickets With Comments #484

Open
shaan150 opened this issue Aug 5, 2021 · 2 comments
Open

Comments

@shaan150
Copy link

shaan150 commented Aug 5, 2021

Hi all,

I get the error message zenpy.lib.exception.APIException: {"error": "InvalidEndpoint", "description": "Not found"} when trying to update tickets with comments.

I am using the following code:

    for x in range(len(ticket_id)):
      ticket = zenpy_client.tickets(id=ticket_id[x])
      date = parser.parse(created_at[x])
      ticket.comment = Comment(body=plain_body[x],public=False,author_id=author_id[x],created_at=date)
      zenpy_client.tickets.update(ticket)
@deybhayden
Copy link
Contributor

I'm getting a similar response trying to perform a delete on a Jira Link resource. You ever figure out the result of this one @shaan150 ?

@shaan150
Copy link
Author

shaan150 commented Dec 7, 2021

I'm getting a similar response trying to perform a delete on a Jira Link resource. You ever figure out the result of this one @shaan150 ?

It's been awhile but if i recall i ended up using the api instead as i couldn't get zenpy to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants