I cannot send files. I get this error message:
An error occurred that does not have a formatted message.
String index out of range: -28
Please Help
I cannot send files. I get this error message:
An error occurred that does not have a formatted message.
String index out of range: -28
Please Help
An error occurred that does not have a formatted message.
String index out of range: -1
Hello boulineau6,
Thanks for taking the time to post about the condition that you've encountered. After many test of the Send a File feature via the Web Interface I was not able to reproduce the condition that you are reporting.
If you are still getting this condtion my suggestion is to try the steps outlined in my previous post for a browser cache issue.
-XDMOlson
Hello Xdrive Team,
Update to the Send a File - String index out of range Issue.....
I encountered the condition while using the Web Interface Send a File feature using the Secure Mode Option. See a picture by clicking here. This was reproducible each time while using the Secure Mode Option. It's reproducible using all the Make Availale for: drop down options. See a picture by clicking here.
-XDMOlson
Check your json
I have tried to recreate your issue via the demo gateway: https://plus.xdrive.com/jsondemo/jsondemo.html. I was unable to get the -1 or -28 error.
Here is the JSON that I submitted:
URL:/json/v1.2/share.sendfile
JSON:
{"toSend":[{"type":"FileObject","id":"xdr:XFS-xxxxxxxxxx"}],
"grantees":[{"type":"ContactObject","email":"address@email.xxx"}],
"mailMessage":{"type":"MailMessageObject","subject":"test","message":"test"}}
Note: I am passing I am passing in an email address instead of an ID for the ContactObject. Try checking your JSON to make sure that you are 1) passing in valid objects, 2) looks similar to this.
I hope that this helps,
-l