
Hi there,
I am currently using the SDK of .NET and I am facing an issue when using the GetFileDownload
-function.
Whenever I use the function I get a null
-value as return.
Appwrite.Models.File fileTest = await storage.GetFile(bucketId: bucketId,fileId: image.OriginalFileId);
byte[] originalImage = await storage.GetFileDownload(bucketId: bucketId,fileId: image.OriginalFileId);
To narrow it down, I used the GetFile
-function as well (as you can see above) and I am getting a correct response, with all the file details such as filename etc. The file has authorized the user to read, update and delete (authentication using JWT).
In the appwrite logs I am getting the error:
[Error] Message: Storage bucket with the requested ID could not be found.
[Error] File: /usr/src/code/app/controllers/api/storage.php
[Error] Line: 1014
In the GetFileDownload
-function itself in the SDK I don't see the URL-parameter projectId passing.
A general question: Does anyone know, how I can debug the .NET SDK?
BTW: I already tried to contribute by creating an PR for an other issue, but there is little movement in that repository.

For your PR, I suggest posting in #👷│maintainers about it to remind us about it. Im not so good at looking at PRs

@Aditya Oberai have you noticed any problems with downloading file using the dotnet SDK?
Recommended threads
- Request failedPlease check if your crede...
I was trying to moved my archived project to a self-host database . Appwrite said we can view and migrate data but my archived project is rendering "Please che...
- upgrading from 1.4.5 to 1.6.0 broke my s...
I managed to upgrade my self hosted instance from 1.4.5 to 1.6.0 and now when i try to log into the dashboard i get the error in the attached image. Also any ap...
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
