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
- The file size is either not valid or exc...
Hello, I am receiving the following error when I am trying to deploy a function from my local. ``` > appwrite push functions --function-id xxxxxxxxx ℹ Info: Va...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...