Forbidden to Install Apollo 3 Board

I have installed Arduino IDE 2.3.3 and try to install SparkFun Apollo3
Windows 11, no Adminrights.
It give the message below.
As an Administrator, the IDE download and install it in %appdata% → not usable for a user.

What is the installer doing?
How can I fix it?

Downloading packages
SparkFun:arm-none-eabi-gcc@8-2018-q4-major
Failed to install platform: 'SparkFun:apollo3:2.2.1'.
Error: 2 UNKNOWN: Get "https://cdn.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-win32-modified.zip": Forbidden

Hi @dresdner. Does the problem still occur if you try it again now?

I ask because I believe the error was caused by that URL returning a HTTP status code 403 ("Forbidden"). I just checked and the URL is now working as expected. So this might have been caused by a transient network outage of the sparkfun.com download server. If so, the problem should no longer occur if you try again now.

Hi,

no it works with direcly input in the browser and as an Admin.

But not as an user.

Thats why I asked, how the process is working. We have a
ActiveDirectory structure with many GPO.
Perhaps is one switch!?

regards
steffen

BTW:
is it possible the installation from the admin to copy to the user?
This would be an workaround…

I wonder if your security/antivirus software is interfering with the download? It might be incorrectly detecting the downloaded file as malware.

Doing that could be problematic because if the copied files are owned by the administrator, then the normal user account won't have full control over them.

However, the general idea is sound. When installing or updating a boards platform, the Arduino IDE Boards Manager first checks to see if a given archive file is already present in its cache of downloaded files. If it is present there, and the local file passes validation, then that file will be used instead of making a redundant download. So you can work around a failed download by manually downloading the archive file. If you If you would like to give it a try, do this:

  1. Click the following link:
    https://cdn.sparkfun.com/large/gcc-arm-none-eabi-8-2018-q4-major-win32-modified.zip
    Your web browser will start a file download.
  2. Wait for the file download to finish.
  3. Copy the downloaded file to the folder at the following path on your hard drive:
    C:\Users\<username>\AppData\Local\Arduino15\staging\packages
    
    (Where <username> is your Windows username)
    • :red_exclamation_mark: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. Start Arduino IDE using your normal user account (not run as administrator).
  5. Attempt to install the "SparkFun Apollo3 Boards" platform via the Arduino IDE Boards Manager, just as you did before when you encountered the "Forbidden" error.

Hopefully this time the installation will be successful.