Project export API throws 404 {"message":"404 Not found or has expired"}

I'm trying to export the projects from 14.10 to new gitlab version. While exporting the project via API as shown below. I'm getting the message {"message":"404 Not found or has expired"}

curl --header "PRIVATE-TOKEN: $TOKEN" "https://gitlab.com/api/v4/projects/id/export/download"

Even I tried via UI. I'm getting the same 404 error.

Current gitlab version is 14.10

Edited by 🤖 GitLab Bot 🤖