Title "not found" error while publish a terraform module to terraform private registry with no vcs connection

I followed same steps to publish a module to terraform private registry.

I set env variables

  1. TOKEN

but after running curl command, getting title not found error

curl \

–header “Authorization: Bearer $TOKEN” \

–header “Content-Type: application/vnd.api+json” \

–request POST \

–data @terraform-aws-networking/payload.json \


{“errors”:[{“status”:“404”,“title”:“not found”}]}%

could you please suggest me how i can resolve this issue?