# Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden

**URL:** <https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929>\
**Category:** New to Julia\
**Created:** [January 3, 2020, 4:28pm UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929 "2020-01-03T16:28:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuxi.liu](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Post date:** [January 3, 2020, 4:28pm UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929/1 "2020-01-03T16:28:46Z")

</div>

I got this error while installing Blink AtomShell:

```julia
julia> Blink.AtomShell.install()
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden."
At line:1 char:82
+ ... pe]::Tls12; (new-object net.webclient).DownloadFile("http://junolab.s ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

ERROR: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.webclient).DownloadFile("http://junolab.s3.amazonaws.com/blink/julia.png", "julia.png")'`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] #run#565(::Bool, ::typeof(run), ::Cmd) at .\process.jl:440
 [3] run at .\process.jl:438 [inlined]
 [4] download at C:\Users\Yuxi\.julia\packages\Blink\4FM8Y\src\AtomShell\install.jl:28 [inlined]
 [5] (::Blink.AtomShell.var"#1#2")() at C:\Users\Yuxi\.julia\packages\Blink\4FM8Y\src\AtomShell\install.jl:30
 [6] cd(::Blink.AtomShell.var"#1#2", ::String) at .\file.jl:93
 [7] install() at C:\Users\Yuxi\.julia\packages\Blink\4FM8Y\src\AtomShell\install.jl:27
 [8] top-level scope at REPL[245]:1

```

I tried opening [http://junolab.s3.amazonaws.com/blink/julia.png](http://junolab.s3.amazonaws.com/blink/julia.png), and got

```xml
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>71130CB915ECE7C8</RequestId>
<HostId>
SB9MDBhIwNsXoKa29kSs1GAWfXm/U2EtZx0/n+3WNmfXlhGkic71DvEHrftszgSf4HCgJ3T3MXI=
</HostId>
</Error>

```

Maybe it’s an Internet problem? I am using VPN.

---

<div class="post-metadata">

**Author:** ![Tim\_S](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim_s/32/12111_2.png) [@Tim\_S](https://discourse.julialang.org/u/Tim_S)\
**Post date:** [January 4, 2020, 6:44pm UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929/2 "2020-01-04T18:44:44Z")

</div>

I’m having the same issue. Were you able to resolve it?

---

<div class="post-metadata">

**Author:** ![EntPyle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/entpyle/32/12620_2.png) [@EntPyle](https://discourse.julialang.org/u/EntPyle)\
**Post date:** [January 4, 2020, 8:42pm UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929/3 "2020-01-04T20:42:50Z")

</div>

Same issue. No VPN

---

<div class="post-metadata">

**Author:** ![yuxi.liu](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Post date:** [January 5, 2020, 2:09am UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929/4 "2020-01-05T02:09:33Z")

</div>

I posted the issue here.  
You can add to it.  
[https://github.com/JuliaGizmos/Blink.jl/issues/235](https://github.com/JuliaGizmos/Blink.jl/issues/235)

---

<div class="post-metadata">

**Author:** ![travigd](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/travigd/32/4746_2.png) [@travigd](https://discourse.julialang.org/u/travigd)\
**Post date:** [January 7, 2020, 7:35pm UTC](https://discourse.julialang.org/t/exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/32929/5 "2020-01-07T19:35:09Z")

</div>

Posting for posterity:

The first issue was something I don’t recognize but I think that was resolved after some conversation on GitHub (classic delete-and-reinstall?). The second error (the 403 error) was because Blink was depending on a file that was stored in an Amazon S3 bucket and downloaded at build time. During some housekeeping by the Julia core people, the file was deleted. It was put back so not to break old builds and should be working today. Going forward we will not depend on the external file.

tl;dr: all things are resolved as far as I know. If anyone has issues, we welcome issues on the Blink.jl repo. :^)
