eas submit -p ios --latest while submiting to appstore Failed to create App Store Connect API Key

hi while i am submitting the app to app store i get an error by using this command.
eas submit -p ios --latest
after entering this command I am able to authenticate with apple id.

later selecting a new app store API key selecting. i getting below error

Failed to create App Store Connect API Key.
UnexpectedAppleResponse: The specified resource does not exist - There is no resource of type ‘apiKeys’ with id
‘XXXXXXXXXXXXXX’.

can some one plz help on this

Some who have seen this error have suggested a) upgrading to the latest eas-cli npm install -g eas-cli. If that doesn’t work, if you could describe the exact step by step you take to get to the failure point, that might help us troubleshoot.