can not use curl to post file to Generic packages by document

i use curl to upload file to project Package Registry my install gitlab help document say:
image
use PRIVATE-TOKEN
i use my user token, it get this:
image
how to use it? i see help that Generic packages is defualt enable?

after i see the gitlab's help
https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs/examples/release-assets-as-generic-package/
it use JOB-TOKEN: ${CI_JOB_TOKEN}
this is ok. but need modify Own document.

Edited by yike wang