Couldn't build project images - Could not build image: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.JsonMappingException

I am logged in Docker Hub and I have all the required settings, but i still receive the following error:

Could not build image:
com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.spotify.docker.client.messages.RegistryAuth: no String-argument constructor/factory method to deserialize from String value (‘desktop’)
[ERROR] at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.LinkedHashMap[“credsStore”])

Any fixes on this? i’ve reinstalled docker multiple times with different settings and versions and could’nt get this to work.

Thanks!