cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

Shared link metadata with spaces return error

Shared link metadata with spaces return error

Davide R.3
New member | Level 1

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 3

Davide R.3
New member | Level 1

Nothing, I found the error and it was mine. See ya! 🙂

Juanvi M.
New member | Level 1

can you explain how you solved this?

Thank you! 🙂

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Juanvi M. New member | Level 1
  • User avatar
    Davide R.3 New member | Level 1
What do Dropbox user levels mean?