We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

MaddieDragon's avatar
MaddieDragon
New member | Level 2
3 months ago

Dropbox API 409 "not_allowed" error on get_temporary_link

Hi, I’m using the Dropbox API to list all files in a shared folder and generate downloadable links for them. This was working fine yesterday, but today I’m getting a 409 error (not_allowed) only on the get_temporary_link API call. However, I can still list the files and retrieve their metadata.

Here are the details:

  • I have editing rights on the folder.
  • No changes have been made to the folder (that I’m aware of).
  • I can manually download files without issues.
  • I can still use other API methods (get file metadata using the same path, and list folder)
  • I don't believe I've hit any API rate limits (I’m on a standard plan with 25,000 requests allowed, and nothing is flagged in the app console).

I’ve reviewed the Dropbox docs but couldn’t find clear information on the not_allowed/409 error. Can you help me identify what might be causing this?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Based on the information you've shared, I understand you are getting a not_allowed error from the /2/files/get_temporary_link API endpoint. That error from that endpoint means:
     

    not_allowedVoid The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned.

    Please refer to that linked help article for more information.

    • MaddieDragon's avatar
      MaddieDragon
      New member | Level 2

      Thank you for the response and the link, but I’m still unsure how to resolve this issue. I've thoroughly reviewed my account and folder settings, but I can’t find any restrictions or settings that would explain why this error is occurring.

      What I find particularly confusing is that the API calls were working fine yesterday, and now, without any changes on my end (even for files in my personal account not in a shared folder), I’m seeing this not_allowed error.

      Could you please clarify:

      Where can I check or modify settings that might be restricting the ability to generate temporary links?
      Why would this issue suddenly occur when no settings or permissions were changed on my side?
      Any specific guidance on what settings or configurations I should adjust would be greatly appreciated.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
326 Following

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 or Facebook.

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!