I tried the following operation and got empty response.
I can't distinguish between "Invalid name" or "Server temporary error"
Is it possible to return detailed message which can indicate invlid file name ?
curl -v -X POST https://api.dropboxapi.com/2/files/create_folder_v2 --header "Authorization: Bearer accesstoken" --header "Content-Type: application/json" --data "{\"path\": \"/�}�W\",\"autorename\": false}"
Note: Unnecessary use of -X or --request, POST is already inferred.
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
> POST /2/files/create_folder_v2 HTTP/2
> Host: api.dropboxapi.com
> User-Agent: curl/7.61.1
> Accept: */*
> Authorization: Bearer accesstoken
> Content-Type: application/json
> Content-Length: 43
>
< HTTP/2 500
< content-security-policy: sandbox allow-forms allow-scripts
< content-type: text/plain; charset=utf-8
< date: Fri, 30 Oct 2020 10:52:43 GMT
< server: envoy
< x-dropbox-request-id: af9ee9f90e494139a89ba5c9eef11ce1
< content-length: 0
<