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

Forum Discussion

Davide R.3's avatar
Davide R.3
New member | Level 1
10 years ago

Shared link metadata with spaces return error

Hi, I've implemented on PHP with the Dropbox API the https://blogs.dropbox.com/developers/2015/08/new-api-endpoint-shared-link-metadata/

I'm using the Chooser to select files (preview link, not direct link). Then, on frontend site, when I click on the selected file, I take preview link and I make a request for obtain the metadata for that file..  but I obtain

HTTP status 400 {"error": {"link": "That is not a valid URL"}}

if the link has spaces inside. Can you help me please?

Thank you!

3 Replies

  • Juanvi M.'s avatar
    Juanvi M.
    New member | Level 1
    9 years ago

    can you explain how you solved this?

    Thank you! :-)

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

    Juanvi, I'm not sure exactly what the problem or solution Davide encountered was, but please feel free to open a new thread with the details of the issue you're seeing (e.g., a sample request and response) and we'll be happy to help.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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!