Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Neha S.3's avatar
Neha S.3
New member | Level 1
9 years ago
Solved

No able to see files in dropbox and getting this error.

Error loading metadata: Error Domain=dropbox.com Code=400 "(null)" UserInfo={path=/AppName, error_description=No auth function available for given request, error=invalid_request}

 

[self.restClient loadMetadata:@"/AppName"];

 

I have write AppName after /.. Why this error is coming .. how can I access my files in dropbox.

  • Hi Neha, can you share the code where you're building your restClient? This error indicates that the API call didn't include the necessary authorization (e.g., an access token for a user). 

    Also, although this is a different issue, if you're using an app folder app, you don't need to include the app folder name in your paths. You should just use the root as "/" and the API will automatically perform the call in the app folder.

    Finally, it looks like you're using the API v1 Core SDK for iOS, but API v1 is deprecated. If you're starting a new project for iOS with Objective-C, you should use the Dropbox API v2 SDK for Objective-C.

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    Hi Neha, can you share the code where you're building your restClient? This error indicates that the API call didn't include the necessary authorization (e.g., an access token for a user). 

    Also, although this is a different issue, if you're using an app folder app, you don't need to include the app folder name in your paths. You should just use the root as "/" and the API will automatically perform the call in the app folder.

    Finally, it looks like you're using the API v1 Core SDK for iOS, but API v1 is deprecated. If you're starting a new project for iOS with Objective-C, you should use the Dropbox API v2 SDK for Objective-C.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!