vagrantvirtualboxvagrantfile

Unable to add the arrikto/minikf box with vagrant up : "The requested URL returned error: 403"


I encountered the following error when trying to add the arrikto/minikf box with vagrant up:

The requested URL returned error: 403

Setup

Vagrant version:

$ vagrant version
Installed Version: 2.4.3
Latest Version: 2.4.3

You're running an up-to-date version of Vagrant!

VirtualBox version: 7.1.6 r167084

Host operating system: Debian GNU/Linux 12 (bookworm)

Guest operating system: arrikto/minikf

Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "arrikto/minikf"
end

Actual behavior

Got an error when running vagrant up command:

$ vagrant init arrikto/minikf
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'arrikto/minikf' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'arrikto/minikf'
    default: URL: https://vagrantcloud.com/api/v2/vagrant/arrikto/minikf
==> default: Adding box 'arrikto/minikf' (v20210428.0.1) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/vagrant.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 403

Debug log

Generated with vagrant up --debug command.

https://gist.github.com/sylvainRigal/53c3019363517e4a1c62fa1e6b925216

Question

How can I add the arrikto/minikf box?

Attempts

$ vagrant box add --name arrikto/minikf https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/vagrant.box
There was an error while downloading the metadata for this box.
The error message is shown below:

The requested URL returned error: 501
$ wget https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/vagrant.box
--2025-03-17 10:43:16--  https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/vagrant.box
Resolving vagrantcloud.com (vagrantcloud.com)... 18.204.71.16, 54.210.75.96
Connecting to vagrantcloud.com (vagrantcloud.com)|18.204.71.16|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/fetch/vagrant.box [following]
--2025-03-17 10:43:16--  https://vagrantcloud.com/arrikto/boxes/minikf/versions/20210428.0.1/providers/virtualbox/unknown/fetch/vagrant.box
Reusing existing connection to vagrantcloud.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://storage.googleapis.com/arrikto/vagrant/boxes/minikf/20210428.0.1-l1-release-develop/virtualbox/minikf.box [following]
--2025-03-17 10:43:16--  https://storage.googleapis.com/arrikto/vagrant/boxes/minikf/20210428.0.1-l1-release-develop/virtualbox/minikf.box
Resolving storage.googleapis.com (storage.googleapis.com)... 2a00:1450:4007:819::201b, 2a00:1450:4007:818::201b, 2a00:1450:4007:813::201b, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|2a00:1450:4007:819::201b|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-03-17 10:43:17 ERROR 403: Forbidden.
Vagrant.configure("2") do |config|
  config.vm.box = "arrikto/minikf"
  config.vm.box_version = "20210428.0.1"
end

N.B. Question originally posted in discuss.hashicorp.com.


Solution

  • This question has been answered here from `chrisroberts` and the answer is reproduced below:

    "

    Hi there,

    This box is externally hosted, and it appears that the account where the box file is/was stored is not currently available. The result from fetching the box file returns the following:

    curl https://storage.googleapis.com/arrikto/vagrant/boxes/minikf/20210428.0.1-l1-release-develop/virtualbox/minikf.box
    <?xml version='1.0' encoding='UTF-8'?><Error><Code>UserProjectAccountProblem</Code><Message>The project to be billed is associated with a delinquent billing account.</Message><Details>The billing account for the owning project is disabled in state delinquent</Details></Error>
    

    Due to this, it appears that this box will be unavailable.

    "