I spent a while trying to figure out why the PHP getFile method wouldn't work with files that had spaces in them. I finally figured out that the filename has to be rawurlencoded which the API wasn't doing.
My only dropbox interaction was simple enough that I just used the DropboxUploader PHP script, so I didn't worry about most of that stuff (only using it for internal company stuff, so errors aren't critical).