Skip to content Skip to sidebar Skip to footer

How To Create A Ticket In Rt Using Python-rtkit

I'm having trouble with a simple script whose only purpose is to create a single ticket and every time I get 401 Credentials Required I took my code verbatim from https://github.

Solution 1:

Alright, I don't know why it didn't work the first time but I've managed to get it working now by using CookieAuthentication instead of BasicAuthentication.

Solution 2:

You have to use the correct URL for your RT web service.

I assume the URL http://rt.example.com/REST/1.0/ does not point to your running RT instance?

Or have you added rt.example.com to your hosts file or similar?

At what host/port does your RT instance run?

Post a Comment for "How To Create A Ticket In Rt Using Python-rtkit"