Access token permission warning

I am using the Access token in my project to push changes back to the git repo. It is working as intended. When I moved only the CI yml file from the current project to a different project and called the CI file to my project(by specifying the CI yml location in CI/CD settings), The pipeline executes and the access token is able to push to git repo as intended. But the token issues an error in the pipeline that It cannot access the remote project. The token doesn’t have access to the project where the CI yml is.

How do I suppress/remove this error?.