Pass argument to view block within a minipanel I am having a panel page, within the panel page there will be multiple minipanels in each row.
The mini-panels have 2 views both which displays content based on the argument passed.

Basically the all the minipanels are same. The views within are also same. Only the argument passed change. But I am not getting how to pass argument.

See the below picture for detail.



In the end we'll have something like this. A repeated series of same panels and views with different contents.



I am not able to find out whats wrong.
I just solved the exact same thing on my site, so writing it up here for future reference. 

Your views: 


Create these as content panes
Contextual filter = Content: thas taxonomy term id (in this case)
Argument input (under "Pane settings" in the view) = "Input on pane config"


Your mini panels


Context -> Required context: taxonomy terms
Content -> (Your views) -> Settings -> "Term id" (probably named differently) = %taxonomy_term:tid


Your main panel


Context: Add taxo term id. You will have to add each term id you will want to use as a context here. 
Content -> (Your mini panels) -> Settings, select the term you would like to use on that instance of the mini panel: