TwentyT
Twenty16mo ago
8 replies
Dream

can't open api imported attachment?

I am importing from a csv file automatically with a Python script.
All is working perfectly how I want it with the person import and company assignment.

Now I'm trying to attach the original .csv file that i used to import that person onto the "files" section. I've gotten it to actually succeed the attachment, but it errors when trying to download or open that attachment.

Here's the error:
{"statusCode":400,"message":"Folder is not allowed","error":"Bad Request"}

Later on I want to attach a picture alongside this as well, but for now, just the csv is fine

Side question:
I got the required AuthorID from attaching a file myself and then using the findmultipleattachment function to get my own authorID.

What is the proper way of getting this?
Was this page helpful?