Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

cristrod817's avatar
cristrod817
Explorer | Level 3
3 years ago
Solved

Dropbox's code example for sharing a file link in Python not working

#Python code provided by Dropbox import requests import json url = "https://api.dropboxapi.com/2/sharing/get_shared_link_metadata" headers = {     "Authorization": "Bearer append-current-toke...
  • Здравко's avatar
    Здравко
    3 years ago

    cristrod817, as Greg pointed out, 'url' parameter is missing in your request and of course, the error message, you're receiving, notes the same. Take a look once again in the link you post above. There are 3 parameters - 1 mandatory and 2 optional. You have put only one of the optional params. 🙂 Where is the link you want to check metadata for? That's it.