Value provided is invalid for action parameter [String param] of type 'String'
I figured it out, you need to get the value of the attribute this way because an array proxy is returned by default:
createDataExport.setParams({"accountId" : component.get('v.accountId')[0]});