GithubHelp home page GithubHelp logo

Comments (1)

fawad0dev avatar fawad0dev commented on August 23, 2024

any thing for that problem
i am using in unity as a nuget

await client.DownloadFileAsync(fileNode, downloadPath); //this is working
await client.GetDownloadLinkAsync(fileNode); //this is giving following error
ApiException: API response: AccessDenied
CG.Web.MegaApiClient.MegaApiClient.RequestCore[TResponse] (CG.Web.MegaApiClient.Serialization.RequestBase request, System.Byte[] key) (at <f7f948850b5c40809d4e684707ecfb10>:0)
CG.Web.MegaApiClient.MegaApiClient.Request[TResponse] (CG.Web.MegaApiClient.Serialization.RequestBase request, System.Byte[] key) (at <f7f948850b5c40809d4e684707ecfb10>:0)
CG.Web.MegaApiClient.MegaApiClient.GetDownloadLink (CG.Web.MegaApiClient.INode node) (at <f7f948850b5c40809d4e684707ecfb10>:0)
CG.Web.MegaApiClient.MegaApiClient+<>c__DisplayClass77_0.<GetDownloadLinkAsync>b__0 () (at <f7f948850b5c40809d4e684707ecfb10>:0)
System.Threading.Tasks.Task`1[TResult].InnerInvoke () (at <51fded79cd284d4d911c5949aff4cb21>:0)
System.Threading.Tasks.Task.Execute () (at <51fded79cd284d4d911c5949aff4cb21>:0)
--- End of stack trace from previous location where exception was thrown ---
MegaStreamVideoPlayer.Start () (at Assets/Red Pool/Mega VideoPlayer/MegaStreamVideoPlayer.cs:30)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <51fded79cd284d4d911c5949aff4cb21>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <f1e29a71158e46cdb750140a667aea01>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <f1e29a71158e46cdb750140a667aea01>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <f1e29a71158e46cdb750140a667aea01>:0)

from megaapiclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.