Power Automate to post CSV files to the API?

GC13
Community Member

Hi all, 

Is anyone successfully posting CSV files to the SIS Import API using Power Automate?   

I've seen the custom connector posted elsewhere on this site which deals with a number of tasks, but doesn't cover posting files.   It's been a great help though as I've managed to work out how to add my own definitions in to post files.

I've got to the point where I can authenticate ok and I can post a CSV file successfully, but Canvas reports the CSV is malformed.     That's the only error I can get out of the system and although the logs show Canvas receives the file and gives it it's own name, I can't get that file to see what it looks like after it's arrived.

The source file can be transferred successfully through the web admin page so I know the file is ok. I can also post it via the API using Postman.

As far as I can see, the Power Automate set up looks to be ok.   Eg, content-type is text/csv.   

However, it does look like it must be something PA is doing to corrupt the file.

Kinda stuck.   Any guidance would be greatly appreciated.

 

Gareth

Labels (3)