Hello All,
Getting below response for calling document translation API, not sure what the issue is. I am passing the correct JSON body as suggested in the documentation. I am using Postman to serve this request. I am generating token before calling it and entering in it for authorization.
URL - https://api.groupdocs.cloud/v1.0/translation/document
Request –
{
“format”: “rtf”,
“outformat”: “rtf”,
“pair”: “en-fr”,
“name”: “sample_rtf.rtf”,
“folder”: “InternalStorage”,
“savepath”: “InternalStorage”,
“savefile”: “sample_rtf_trns.rtf”,
“storage”: “InternalStorage”,
“masters”: “false”,
“elements”: “[]”
}
Responses -
{
“requestId”: “30ec803c-3afe-4e08-8906-f95e690a4301”,
“error”: {
“code”: “errorInvalidInputData”,
“message”: “: Unexpected character encountered while parsing value: {. Path ‘’, line 1, position 1.”,
“description”: “Operation Failed. The input data is not valid.”,
“dateTime”: “2023-06-09T06:28:17.3996404Z”,
“innerError”: null
}
}
Pls suggest.
Thanks in advance.