I'm trying to import database data via CSV via API, however getting "The current user is not authorized to perform the requested action." after the API key has "migrations.write" access. (This was erroring/checked prior to adding the permission to the key)
e.g.
await client.call("POST", new URL("https://appwrite.domain.com/v1/migrations/csv"), {
"content-type": "application/json"
}, {
bucketId: "dbBootData",
fileId: "trees.csv",
resourceId: prod:trees,
internalFile: true
})
Import CSV via API (User Not Authorized)
Appwrite 1.8.0 (Self Hosted)
Recommended threads
- I want my app data
Can anyone help me with this ?
- AppwriteException: Route not found!
I am executing Appwrite Function from react, getting below error for fetching data from table in function. Code snippet where function throw this error: cons...
- createRow types
Hello, I'm trying to use the tablesDB class with .createRow. I've generated types; but when I apply the type, it still comes back as Promise<any>. Ideas? ht...