Pipeline Started Failing As a result of submodules

We have a Jenkins Multi-branch pipeline which uses submodules. As at last week it was working, and then this week it stopped working all of a sudden. When I check the error message, this was what was displayed. I have updated all the plugins, restarted Jenkins but the issue still persisted. Does anyone know what might be going wrong?

using GIT_SSH to set credentials XXXX SSH
Verifying host key using known hosts file
 > git submodule update --init --recursive xxxxxxxxxx/xxxx_xxxxxxxx # timeout=60
ERROR: Checkout failed
hudson.plugins.git.GitException: Command "git submodule update --init --recursive xxxxxxxxxx/xxxx_xxxxxxxx" returned status code 1:
stdout: 
stderr: Cloning into 'C:/Dev/builds/workspace/xxxxxxxxx/xxxxxxxxx/xxxxxxxxx'...
fatal: Unable to persist credentials with the 'wincredman' credential store.
See https://aka.ms/gcm/credstores for more information.
fatal: Unable to persist credentials with the 'wincredman' credential store.
See https://aka.ms/gcm/credstores for more information.
fatal: Authentication failed for 'https://bitbucket.xxxxx.com/xx/xx/xxxx_xxxx.git/'
fatal: clone of 'https://bitbucket.xxxxx.com/xx/xx/xxxx_xxxx.git/' into submodule path

I fixed the issue, Optional SSH Credential, someone added a ssh credential, which was confusing Jenkins because it was trying to use this for the submodules and it is not setup to use this. The main repo uses http and we have also setup the submodules to also use http and then adding this was conflicting things. This was never an issue before until now after we updated the plugins.