cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

No access -App folder deleted (Pending)

Highlighted

No access -App folder deleted (Pending)

Explorer | Level 3

I have added an App access request using the link from the app and accepted it.

I gave the access code to the app.

In my account   I see the "connected" app, but it says "No access - App folder deleted (Pending)"

As I understand I have to have the  /Apps/{AppFolderName}   AND I DO HAVE IT.

How do I fix this problem ?

 

Thanks

9 Replies 9
Highlighted

Re: No access -App folder deleted (Pending)

Dropboxer

If you see the "No access - App folder deleted" text, that should indicate that the app doesn't have access because the app folder has been deleted. Did you delete the app folder and try to recreate it manually by any chance? Making a new folder with the same name/path manually won't automatically connect the app.

In any case, the "(Pending)" portion should indicate that you have authorized the app, but the app hasn't yet completed the app authorization flow. I.e., that the app hasn't yet exchanged the "authorization code" for an "access token". Did you have the app attempt that /oauth2/token call, and if so, what was the response?

Highlighted

Re: No access -App folder deleted (Pending)

Explorer | Level 3

Hi,

I am going back through the process. I am using dropbox_uploader

This should be straight forward so please take a look

1. I have ran dropbox_uploader

2. Sent the link

https://www.dropbox.com/oauth2/authorize/?client_id=6yd84s2nlfufy5t&response_type=code

3. Jason@proefi authorized it and now we have the code

kJMsqw96huEAAAAAAACG0bC3WxYdVNG4RjhnalkZqNE

4. I entered this code as the Access token in the dropbox_uploader

# Access token: kJMsqw96huEAAAAAAACG0bC3WxYdVNG4RjhnalkZqNE

What else do I have to do ?

On Jasons account it says "No Access - App folder deleted (Pending)"

What do I need to do on the App side ?

 

Thanks

Coby

 

 

Highlighted

Re: No access -App folder deleted (Pending)

Dropboxer

Thanks for the additional information! I see from the  'response_type=code' that you're using the "code" flow, which means that the string you get back is an "authorization code", not an "access token". You need ot exchange the authorization code for an access token using /oauth2/token. (Alternatively, depending on your scenario, you may be able to switch to the "token" flow.)

You can find more information in the OAuth guide and authorization documentation.

Highlighted

Re: No access -App folder deleted (Pending)

Explorer | Level 3

I have ran exactly the following:

1. https://www.dropbox.com/oauth2/authorize/?client_id=6yd84s2nlfufy5t&response_type=code

The code is : <redacted>

2. The App device calls with the grant_type set to the above code.

curl -X POST https://api.dropboxapi.com/oauth2/token --data "{\"client_id\": \"6yd84s2nlfufy5t\",\"grant_type\": \"<redacted>\",\"client_secret\": \"<redacted>\"}"  

and gets ::

{"error_description": "No auth function available for given request", "error": "invalid_request"}

 

What do I need to change ?

Highlighted

Re: No access -App folder deleted (Pending)

Dropboxer

This is an OAuth endpoint, so it works a bit differently than the Dropbox API RPC, etc., endpoints. Here's an example of what that /oauth2/token call should look like:

curl https://api.dropbox.com/1/oauth2/token \
    -d code=<authorization code> \
    -d grant_type=authorization_code \
    -u <app key>:<app secret>

Fill in your values in the <...> placeholders.

Highlighted

Re: No access -App folder deleted (Pending)

New member | Level 2

I followed these steps including your last one

1. https://www.dropbox.com/oauth2/authorize/?client_id=6yd84s2nlfufy5t&response_type=code

Got the code from Accepting the App on the users account

2.  curl https://api.dropbox.com/1/oauth2/token -d code=<redacted> -d grant_type=<redacted> -u 6yd84s2nlfufy5t:<redacted>

{"error_description": "\"grant_type\": got \"<redacted>\", expecting \"authorization_code\"", "error": "invalid_request"}

What do I need to change ?

 

 

 

Highlighted

Re: No access -App folder deleted (Pending)

Dropboxer

The "grant_type" parameter value should be the actual string "authorization_code", not the code itself. You put your code there again instead of the string "authorization_code". You should only supply the code itself once, as the "code" parameter value.

In the example in my previous comment, make sure you only replace the parts with the <...> placeholders.

That means it should look like this:

curl https://api.dropbox.com/1/oauth2/token \
    -d code=Aa9Bb8Cc7Dd6Ee5Ff4Gg3 \
    -d grant_type=authorization_code \
    -u a1b2bc3:d4e5f6
Highlighted

Re: No access -App folder deleted (Pending)

Explorer | Level 3

it was working smooth on my iPad Pro when it was running on ios 10 however as I have updated to ios 11.3 whenever now I am opening the app it only loads a blank screen on the start up and crashes after a while automatically. How do I fix it?

Highlighted

Re: No access -App folder deleted (Pending)

Dropboxer

@MilesSmith It sounds like you're referring to an issue using the official Dropbox for iOS app itself. This thread was for an issue a developer was seeing when using the Dropbox developer platform. Please instead contact Dropbox support for help with the Dropbox app:

https://www.dropbox.com/support

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?