How to mirror https://apt.releases.hashicorp.com using debmirror

Richard Landster <[email protected]> Thu, 24 Aug 2023 12:56:22 -0700
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
I am trying to mirror https://apt.releases.hashicorp.com using debmirror 
(v. 35) but am getting this error:

---
https://apt.releases.hashicorp.com/debian/dists/bookworm/Release => [  
0%] Getting: dists/bookworm/Release... 404 Not Found
Download of dists/bookworm/Release failed: 404 Not Found
Ignoring failed Release files.
Ignoring missing Release file for 
dists/bookworm/main/binary-amd64/Packages.gz
https://apt.releases.hashicorp.com/debian/dists/bookworm/main/binary-amd64/Packages.gz 
=> [  0%] Getting: dists/bookworm/main/binary-amd64/Packages.gz... 404 
Not Found
---

The command I am using is this:

debmirror --ignore-missing-release --keyring /root/mirror/pubring.kbx 
--rsync-extra=none --debug -a amd64 --method https --getcontents 
--precleanup --diff=none --i18n --verbose -d bookworm -h 
apt.releases.hashicorp.com -s main /tmp/debian