Google Play failed to upload artefacts. Version code 5 has already been used.

Resolved

I deployed my app to the Internal Track in Play Store 4 times without any issues
the 5th time I deployed it directly to the Production Track
when I tried to deploy it once again to the Internal Track I got this error
is there any Solution for this knowing that I'm deploying it from a GitHub repo

Codemagic Deploy Output

Failed Step: Publishing

== Gathering artifacts == == Publishing artifacts == Publishing artifact app-release.apk Publishing artifact app-release.apk Publishing artifact app-release.aab Publishing artifact release_mapping_mapping.txt Publishing app-release.aab to Google Play Google Play failed to upload artefacts. Version code 5 has already been used.: { "error": { "code": 403, "message": "Version code 5 has already been used.", "status": "PERMISSION_DENIED" } } Build failed :| Publishing failed :| Google Play failed to upload artefacts. Version code 5 has already been used.: { "error": { "code": 403, "message": "Version code 5 has already been used.", "status": "PERMISSION_DENIED" } }

2
5 replies