T
Twenty2mo ago
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?
5 Replies
Dream
DreamOP2mo ago
Anyone got any idea on this? Havent gotten any further yet
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
@Dream let me check
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
Okay, so as it turns out, it's the same problem I've reported earlier https://github.com/twentyhq/twenty/issues/7325
GitHub
After initial upload of file and checking the content, app throws a...
Scenario: Log in Go to People > record details > (doesn't matter which object as long as it has field with File type) Upload a file if there are no files Click on filename Actual: After i...
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
You can use workaround of renaming any file, after that you should be able to download files
charles
charles2mo ago
This is an issue in the optimistic rendering logic. I think if you refresh you'll be able to get your file. @bob issue is relevant, we will include a patch in 0.32 🙂
Want results from more Discord servers?
Add your server