dsouther | 2016-10-06 14:24:51 UTC | #1
I am not able to delete queues via the Python SDK. It works correctly using the dev tools.
request
queue_id = 'e3890999-8ef6-4d76-ad4e-c83b0fb9155b' try:
Delete a queue
apiresponse = apiinstance.deletequeuesqueueid(queueid, forcedelete=True) pprint(apiresponse) except ApiException as e: print("Exception when calling RoutingApi->deletequeuesqueue_id: %s\n" % e)
response
Exception when calling RoutingApi->deletequeuesqueueid: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 06 Oct 2016 14:21:10 GMT', 'Content-Length': '0', 'X-Amz-Cf-Id': '7fKC9cKxliYmlxjq-v5ftl1LkNG0QEzRJJg3hSNR1NaGUWAtkNw==', 'Via': '1.1 0a9f4502819b08c3a7919c963887be2b.cloudfront.net (CloudFront)', 'Connection': 'keep-alive', 'X-Cache': 'Error from cloudfront'})
tim.smith | 2016-10-06 14:53:52 UTC | #2
Are you able to see the exact request that's being sent using a packet logger/interceptor? The response headers in your post don't include the ININ correlation ID, so that means it's probably not making it past cloudfront and I can't look it up in the logs.
dsouther | 2016-10-07 14:50:30 UTC | #3
I'm not able to at the moment, maybe next week.
I just had the deleteuseridroutingskillsskill_id call do the same thing. There might be an issue with detete requests in general.
system | 2017-08-28 19:27:47 UTC | #4
This post was migrated from the old Developer Forum.
ref: 475