# Video ID not recognized on Course creation

**URL:** <https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785>\
**Category:** Site Operators\
**Created:** [October 30, 2019, 10:18pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785 "2019-10-30T22:18:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scarback](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/scarback/32/220_2.png) [@Scarback](https://discuss.openedx.org/u/Scarback)\
**Post date:** [October 30, 2019, 10:18pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785/1 "2019-10-30T22:18:39Z")

</div>

Hello, OpenEDX Gurus!

I have some issue now with video uploading on my platform. My openEDX is in an EC2, using IAM role to have access to this public-read bucket:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/a7b40d35b93918269d29f59f86f1aaf44de09fb2.png)

When I try to upload the video, everything goes fine, as you can see:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/bc34c8af3721e355d0ff426435eba2cbff117f7f.png)

But when I try to use this video ID on the course, I get this error:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/160a7aa01e5a62ceae171adf1e4888c18bb3e953.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/ce1baf1460ff7bcc4e02f85a8826d61149fa3914.png)

Does anyone have an idea why can’t my edx read the video that I’ve uploaded? This are my lms and cms auth.json:

> ```
> "AWS_ACCESS_KEY_ID": null,
> "AWS_QUERYSTRING_AUTH": true,
> "AWS_S3_CUSTOM_DOMAIN": null,
> "AWS_SECRET_ACCESS_KEY": null,
> "AWS_STORAGE_BUCKET_NAME": "open-edx-dev",
> 
> ```

The object is public (already tested it) and I have already tried:

> “AWS\_S3\_CUSTOM\_DOMAIN”: “[open-edx-dev.s3-us-west-2.amazonaws.com](http://open-edx-dev.s3-us-west-2.amazonaws.com)”,

And also:

> “AWS\_S3\_CUSTOM\_DOMAIN”: “[open-edx-dev.s3.amazonaws.com](http://open-edx-dev.s3.amazonaws.com)”,

But none of those helped me 😐

Any ideas? Thank you, guys!

---

<div class="post-metadata">

**Author:** ![viadanna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/viadanna/32/276_2.png) [@viadanna](https://discuss.openedx.org/u/viadanna)\
**Post date:** [October 31, 2019, 6:43pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785/2 "2019-10-31T18:43:52Z")

</div>

Hey @Scarback

I’ve tried to check the video and bucket but got an `AccessDenied`. Can you share the full URL to the video file?

Also, did you try using the full URL in `URL do vídeo definido por padrão` instead of just the video ID?

Cheers!

---

<div class="post-metadata">

**Author:** ![Scarback](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/scarback/32/220_2.png) [@Scarback](https://discuss.openedx.org/u/Scarback)\
**Post date:** [October 31, 2019, 7:36pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785/3 "2019-10-31T19:36:38Z")

</div>

@viadanna, thanks for replying!

It was a test. The video URL is: [https://open-edx-dev.s3-us-west-2.amazonaws.com/4d09734a-8403-471e-b4db-905575260894](https://open-edx-dev.s3-us-west-2.amazonaws.com/4d09734a-8403-471e-b4db-905575260894)

When I put it in the field: `URL do vídeo definido por padrão` it really works, as you can see bellow. But using the video ID shouldn’t be the right way for doing this? It would be easier to the course publisher, since he isn’t obligated to know which bucket the app is using, and do not necessarily know how AWS S3’s URL works.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/37eb52278727942ab72a1bc5a3186c5579d16613.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/1X/f1fe0a095072a19f4469597298893c4c1fc2be84.jpeg)

---

<div class="post-metadata">

**Author:** ![viadanna](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/viadanna/32/276_2.png) [@viadanna](https://discuss.openedx.org/u/viadanna)\
**Post date:** [November 4, 2019, 7:08pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785/4 "2019-11-04T19:08:40Z")

</div>

> [@Scarback](#):
>
> When I put it in the field: `URL do vídeo definido por padrão` it really works, as you can see bellow.

That’s really how this is intended to be used, as you can see [here](https://edx.readthedocs.io/projects/open-edx-ca/en/latest/course_components/create_video.html#step-3-post-the-video-online).

The `Video ID` is currently used in [https://edx.org](https://edx.org) when uploading the videos to their infrastructure as shown in [this documentation](https://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/video/add_video_to_course.html).

---

<div class="post-metadata">

**Author:** ![Scarback](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/scarback/32/220_2.png) [@Scarback](https://discuss.openedx.org/u/Scarback)\
**Post date:** [November 4, 2019, 8:13pm UTC](https://discuss.openedx.org/t/video-id-not-recognized-on-course-creation/785/5 "2019-11-04T20:13:58Z")

</div>

Thank you for your reply, @viadanna! So sad that I can’t use Video ID in the app. Video URL is not ideal, but it will work!

Thanks a lot!
