-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
publicly available node AccessDenied, when get info about node #228
Comments
Hello, I'm not able to reproduce the issue you described with the following test [Theory]
[InlineData("https://mega.nz/file/B7BnxarD#pt_9ebHpGvzCi3LBVVfBcudIys7mZGma_wHHquWTEkE")]
public async void GetNodeFromLinkAsync_Succeeds(string fileLink)
{
var instance = new MegaApiClient();
await instance.LoginAnonymousAsync();
var node = await instance.GetNodeFromLinkAsync(new Uri(fileLink));
Assert.NotNull(node);
Assert.Equal("fm.png", node.Name);
Assert.Equal(597194, node. Size);
} Could you provide a small sample? |
It happens when querying a just created folder now. The created folder shows up as 'undecrypted folder' in the web file manager
|
The link references a folder so you should use GetNodeSFromLink() method instead. |
… folder share or GetNodesFromLink() with a file share
Thanks, still having problems though.
Both the file and folder are named AMlNVS0u1Co0STJw0CrOyHBTSMtLUcvPLHDML1fwVE9LUVYsMFUwydNNSwgoSAIL.
|
Description:
Im using GetNodeFromLinkAsync method, to get Node on the following url
https://mega.nz/file/B7BnxarD#pt_9ebHpGvzCi3LBVVfBcudIys7mZGma_wHHquWTEkE
I get AccessDenied apiexception, though url can be opened in browser.
what are you trying to do
Actual Behavior:
what happens
Expected Behavior:
I expect to get back Node.
what should happen
Steps to Reproduce:
MegaApiClient Version: latest
The text was updated successfully, but these errors were encountered: