cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Neha S.3
New member | Level 1
Go to solution

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.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

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.

Need more support?