404 when querying license API from Forge Remote in dev environment with `--license active`

Better if you read this discussion here Clarity on Forge License shape in APIs but bottom line is that on development the licensing API doesn’t really mean anything. You can push whatever to display whatever as the actual payload doesn’t render. You need to be in a production environment or probably make an assumption of how the actual payload is supposed to work in production then design your code in that structure.