The thread you have mentioned details how to make the call. I am doing that already. Please check the log I have shared. I am getting "PermissionException". This is something which your backend team needs to check at your side why I am getting "PermissionException" error though I have subscribed for the historical API.
You can have look to this thread.