

# TransferContactToQueue
TransferContactToQueue

This action places a contact that is not already in a queue into the contact's TargetQueue. If the contact has already been put into a queue (meaning that it is currently being routed to an agent, being joined to an agent, or is connected to an agent), the action fails. 

## Parameter object


No parameters are expected.

## Results and conditions


None.

## Errors

+ QueueAtCapacity - if the destination queue is at capacity and the contact cannot be queued within it.
+ NoMatchingError - if no other Error matches.

## Restrictions


This action is supported in inbound contact flows and transfer flows. It is not supported in whisper flows, customer queue flows, or hold flows. 

## Corresponding block in the UI


[Transfer to queue](https://docs.aws.amazon.com/connect/latest/adminguide/transfer-to-queue.html) 