fixing AWS.BadClaimsSupplied error