i can't push to a new private repo i created in my organization

i created a new private repo in my organization. Initalized and and added remote origin using my personal access token for authentication. I added file and commit, tried to push to origin main but it didn’t work instead gave me an error below:
remote: Repository not found.
fatal: repository ‘https://github.com/Organisation/repo-name.git/’ not found

A 404 is returned even if the repository exists but your credential does not have access.
The following will tell you if the token you think you are using has permission or not.

curl https://api.github.com/repos/OWNER/REPO -is -u “user:$MY_PAT” | grep ‘“permissions”|“admin”|“maintain”|“push”|“triage”|“pull”|x-oauth-scopes:’

you could also try deleting any local cached credentials