Skip to main content
Participant
Apr 17, 2023 6:01 PM UTC
Question

Internal Server Error when exporting to .docx

I am using the API to convert PDFs to .docx files. It has never had any problems.

 

However one file I have keeps on failing with a 500 internal server error during processing. I poll the "location" URL and after about a minute it returns a "failed" status. I'm not sure how to go about debugging this.

 

I can't attach the PDF file publically to this post because it contains sensitive information. I'm looking for someone in Support to reach out who I can work with.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Participant
Sep 27, 2023 4:57 PM UTC

Hello! Did you fix it? I got the same issue. Public convertion tool work perfectly but API fails

 

Translate
Raymond Camden
Community Manager
Community Manager
Sep 27, 2023 6:34 PM UTC

When a job has a failed status, the body of the response should include some details. From the REST docs:

 

{
"status": "failed",
"error": {
"status": 500,
"code": "INTERNAL_SERVER_ERROR",
"message": "There was an error processing your request"
}
}

 

In theory, your error may be more detailed. 

Translate
Participant
Sep 29, 2023 11:54 AM UTC

Hello.

I'm using a nodejs api bindings and unfortunately it doesn't provide more info when failing

 

{
  requestTrackingId: '66744721-6b13-435b-bbcc-3142cf14d033',
  statusCode: 500,
  errorCode: 'INTERNAL_SERVER_ERROR'
}

But I put a break inside bindings and get an error message:

{
    "code": "INTERNAL_SERVER_ERROR",
    "message": "Unknown error performing transfer",
    "status": 500
}

 

Translate