# Can output to AWS but not CDN when using Per-Title encoding

**URL:** <https://community.bitmovin.com/t/can-output-to-aws-but-not-cdn-when-using-per-title-encoding/2975>\
**Category:** Support\
**Created:** [May 30, 2024, 4:55pm UTC](https://community.bitmovin.com/t/can-output-to-aws-but-not-cdn-when-using-per-title-encoding/2975 "2024-05-30T16:55:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![work](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@work](https://community.bitmovin.com/u/work)\
**Post date:** [May 30, 2024, 4:55pm UTC](https://community.bitmovin.com/t/can-output-to-aws-but-not-cdn-when-using-per-title-encoding/2975/1 "2024-05-30T16:55:56Z")

</div>

### Product

Encoding - VOD

### Question

What could I be missing?  
I can successfully save to an AWS bucket (role-based Output) when using per-title encoding and ClearKey or AES-128 encryption.  
But can’t save to the Bitmovin CDN with the same setup. When I switch from AWS Output to the CDN Output, the \_execute\_encoding method always fails. The error message is simply  
‘Exception(“Encoding failed”)’.  
To get the CDN Output, I’ve tried both \_get\_cdn\_output and output = bitmovin\_api.encoding.outputs.cdn.get(outpuLid=config\_provider.geLoutput\_cdn\_id())'. I’ve also tried combinations with different folder paths.  
Does anyone have advice for what to check? Thanks.

---

<div class="post-metadata">

**Author:** ![ludovic.michaud](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/ludovic.michaud/32/811_2.png) [@ludovic.michaud](https://community.bitmovin.com/u/ludovic.michaud)\
**Post date:** [May 30, 2024, 7:26pm UTC](https://community.bitmovin.com/t/can-output-to-aws-but-not-cdn-when-using-per-title-encoding/2975/2 "2024-05-30T19:26:59Z")

</div>

Hi,  
It could be that CDN is not enabled for your account. Generally, CDN is enabled along with the Encoding Pay as you go plan.  
Please feel free to open a support ticket so we can discuss details related to your account specifically

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [May 30, 2024, 8:27pm UTC](https://community.bitmovin.com/t/can-output-to-aws-but-not-cdn-when-using-per-title-encoding/2975/3 "2024-05-30T20:27:52Z")

</div>

Closed on May 30, 2024, 8:27pm UTC

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.
