# Error 403 when downloading model for Sagemaker batch inference

**URL:** <https://discuss.huggingface.co/t/error-403-when-downloading-model-for-sagemaker-batch-inference/12571>\
**Category:** Amazon SageMaker\
**Created:** [December 6, 2021, 2:35pm UTC](https://discuss.huggingface.co/t/error-403-when-downloading-model-for-sagemaker-batch-inference/12571 "2021-12-06T14:35:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![philschmid](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/philschmid/32/38022_2.png) [@philschmid](https://discuss.huggingface.co/u/philschmid)\
**Post date:** [December 7, 2021, 7:13am UTC](https://discuss.huggingface.co/t/error-403-when-downloading-model-for-sagemaker-batch-inference/12571/6 "2021-12-07T07:13:13Z")

</div>

Hey @kjackson,

We recorded a video on how to run batch transform maybe this helps you get started easier: [https://www.youtube.com/watch?v=lnTixz0tUBg](https://www.youtube.com/watch?v=lnTixz0tUBg)

When you look at the logs you should have 2 log streams, see below. Could you please share as much information as possible? The error should normally provide information why it failed.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/5/5190fcd5fa78aa52dcfc4606ee39e951c64c9eb1.png)

> Could there be some sort of permission set on the aws service level which prevents it from reaching the url? Though I believe 403 is a server side error so shouldn’t be something on my end?

Which IAM role do you use to run the batch transform job?

---

_[View the full topic](https://discuss.huggingface.co/t/error-403-when-downloading-model-for-sagemaker-batch-inference/12571)._
