Skip to content

v1 API gives "403 Forbidden" - workaround not working #876

@vk6xebec

Description

@vk6xebec

Hello, I got a duplicate of issue #656 where the old v1 API menu constantly shows up under System > API. Opening it shows the "403 error" page.

I am on pfsense 26.03 FreeBSD 16.

The solution from that thread seems to run the following commands:

pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/download/v1.8.0/pfSense-24.11-pkg-API.pkg
pkg-static delete pfSense-pkg-API

I tried to run it with those commands, and also with the latest version but I run into the BSD architecture issue which means I cannot proceed.

pkg -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/download/v1.7.6/pfSense-2.7-pkg-API.pkg && /etc/rc.restart_webgui
Fetching pfSense-2.7-pkg-API: 100%    2 MiB   1.7 M/s    00:01    
Installing pfSense-pkg-API-1.7_6...
pkg: wrong architecture: FreeBSD:14:* instead of FreeBSD:16:amd64

Failed to install the following 1 package(s): https://github.com/jaredhendrickson13/pfsense-api/releases/download/v1.7.6/pfSense-2.7-pkg-API

If I do a clean remove of the v2 install - both menus disappear. As soon as I install the 26.03 package both menu items appear.

If there a workaround or commands to fix the issue? or of possible can a v1 version be created for the 16 architecture?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions