I also faced a similar issue, but I was able to resolve it by passing
the reference id gotten from :
authenticationSetupsPostResponse.getConsumerAuthenticationInformation().getReferenceId()
to : consumerAuthenticationInformation.setReferenceId(refere...