Node SDK Invoke - Isn't Elligble


Nicholas Leonardi
 

Hey guys,
I'm having trouble invoking a transaction on a network and getting an error that I can't find anyone else having.

got query for channel channel from 192.168.6.33:33132 but it isn't eligible: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied

I understand it has to do with policies but they're all set for ANY in the configtx.yaml

Also, when I generate the channel genesis block, I'm still getting this warning

2019-10-23 09:11:57.649 -03 [common.tools.configtxgen.encoder] NewChannelGroup -> WARN 006 Default policy emission is deprecated, please include policy specifications for the channel group in configtx.yaml
2019-10-23 09:11:57.649 -03 [common.tools.configtxgen.encoder] NewChannelGroup -> WARN 007 Default policy emission is deprecated, please include policy specifications for the channel group in configtx.yaml

even though I have set the policies in the configtx like this:

Channel: &ChannelDefaults
    # Policies defines the set of policies at this level of the config tree
    # For Channel policies, their canonical path is
    #   /Channel/<PolicyName>
    Policies:
        # Who may invoke the 'Deliver' API
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        # Who may invoke the 'Broadcast' API
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        # By default, who may modify elements at this config level
        Admins:
            Type: ImplicitMeta
            Rule: "ANY Admins"

Any insight is greatly appreciated

Join fabric@lists.hyperledger.org to automatically receive all group messages.