I previously started a headquarters project for my CORP on Helion Prime, but cancelled it due to concerns about permanently taking up a spot on a growing planet. I am trying to build the headquarters on Amethyst b (IA-158b) instead, but keep getting an “Illegal arguments.” error. I have tried several times on different days and with all plugins disabled, but the issue persists.
It seems at one point you tried to setup your HQ on a station. That lead to a technical transaction between the corporation and nothing, because the action expected a planet. The transaction did nothing, but is being retried until mid November. Until that happens no new HQ project can be started (which results in the illegal argument error you get).
Fixing that means either waiting until the transaction times out or deploying a little tool that can do it for me. Since the Orchestration release is around the corner I will deploy the fix with that release.