Fixed INVOKE_BAD_REQUEST_ERROR when clicking "Open a PDF file in
Adobe Reader" by adding access_shared permission in config.xml.