When trying to import a .csv file via the API, the process seems to be:
$importFile = PodioFile::upload($filePath, $fileName); //Upload file to Podio $attributes = array( //Set mappings, etc. ); PodioImporter::process_app($importFile->file_id, $app_id, $attributes); //Import data from uploaded file according to mappings
However, when I run this, I get the error message
No importer for files of type application/octet-stream. I've found one other entry on the forum about a similar issue with Excel files, which doesn't seem to have a resolution.
If this is related, have the upload parameters been added/fixed in the 5 months since? I can't find anything in the documentation about it, and the code in that part of podio-php is a bit beyond me - I know nothing at all about cURL.
Please sign in to leave a comment.