Python - Project Manager Upload 404 on use

I have a pretty simple script that is something like this

project_name="group/repo"
current_tag='v1.2.3'
release_notes="some markdown info"
gitlab_client = Gitlab("connection",private_token="token")

project=gitlab_client.projects.get(project_name)
tag = project.tags.get(str(current_tag))
uploaded_file = project.upload(
    f"Release_Notes_{current_tag}.md",
    filedata=release_notes,
)
tag.set_release_description(
    f"Release notes are here: {uploaded_file['markdown']}"
)

While running a debugger with this, i notice that the upload_file has values for the url/markdown etc but if i follow that url uploads/<sha>/<filename> it gives a 404

we’re currently running EE 14.2.6 with python libraray 2.10.1
This script had been working for a while but isnt any more. The corp team has been updating gitlab recently, but I wasnt able to find any references to this breaking in newer version or able to relate it breaking with an upgrade window.

Any suggestions on what might be wrong?
Is there any way to look at uploads to a project?
Thanks