Infos:
- Used Zammad version: 6.1.0-1698752711.d7dece56.jammy
- Used Zammad installation type: Docker-Compose
- Operating system: Ubuntu
- Browser + version: Edge 119.0.2151.44
Expected behavior:
Update a ticket using API provided in the documentation Tickets — Zammad System Documentation documentation
Actual behavior:
Running the script it returns the following error “requests.exceptions.SSLError: HTTPSConnectionPool”
Steps to reproduce the behavior:
Using the script
import requests
url = “https://yourdomain.zammad.com/api/v1/tickets/{id}”
headers = {
“Authorization”: “your token”,
“Content-Type”: “application/json”,
}
payload = {
“title”: “try”,
“group”: “Users”,
“state”: “open”,
“priority”: “3 high”,
“article”: {
“subject”: “Update via API”,
“body”: “Try”,
“internal”: False
}
}
response = requests.put(url, json=payload, headers=headers)
if response.status_code == 200:
print(“Ticket updated successfully!”)
else:
print(f"Failed to update ticket. Status code: {response.status_code}")
print(response.text)