Chain code instantiation error

we are attempting to fix up a Hyper ledger fabric network, two organizations, holding two peers each and fabric ca for each org. We succeed in setting up the network, by creating a channel and joining the peers to the same channel, and was also able to install a chain code. But the real issue came when we attempted to instantiate the same chain code, its throwing access denied.Install & instantiation are try to done by NodeSdk. How can i solve this?
connection profile file :
instantiateChainCode.js :

facing the same issue
any solution??

This happens when you had some issue with creating/joining the channel. Can you please attach the log of channel create and join in each peers?

log of peer when i try to instantiate it

please do check this

Can you please attach the log of channel create and join.

logs of docker containers??

Which version of fabric you’re using?

iam using fabric 1.1

Check if the peers have joined the channel using peer channel list and has the chaicode instantiated using peer chaincode list --instantiated