zenpy
zenpy copied to clipboard
Invalid Endpoint Error When Attempting To Update Tickets With Comments
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)
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 ?
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