Já když to dám dohromady
$cheaders = array("Authorization: Bearer .$access_token",'Content-Type: application/octet-stream','Dropbox-API-Arg: {"path":"/xxxxx/'.$path.'", "mode":"add"}');
tak dostanu
Access Token: xxxxxxxx Error in call to API function "files/upload": The given OAuth 2 access token is malformed.