I am trying to run few sfdx force:community commands to create and publish communities but getting few errors.
When trying to run
sfdx force:community:create -n "TestPortal" -t "Build Your Own (LWR)" -p portal templateParams.AuthenticationType=UNAUTHENTICATED
I am getting an error "HTTP method not allowed."
and when running the below command after creating community manually in the UI
sfdx force:community:publish -n "TestPortal"
I get "requested resource does not exist"
I have updated cli and communities enabled in the scratch org, also none of the other devs in the team has this issue which makes me believe the general setup is right. This is happening specially with community commands as all other sfdx commands are working fine, does anyone know any possible solution for this