Error : Expected scheme specific par at index 6

One of the possible issues could be that you have not made the Right API call in the buildUri() function in the PortfolioManagerImpl.java file.

Re-Inspect your API call.