configchannel.channelExists always returns 0

Latest response

I am trying to verify a channel exists using the channelExists method from the satellite API. No matter what I try it keeps returning "0". Can someone help me figure out what I am doing wrong?

I have attached my script for review.

The problem line is:
if not client.configchannel.channelExists(key, clone_channel_details):

Attachments

Responses