Hi @ganeshp,
Welcome to Google Cloud Community!
The "INTERNAL" Error: this usually indicates a problem on Google Cloud's side, such as a temporary service disruption or a bug in the translation process while the "Job state: FAILED": this means the translation job didn't complete successfully.
Here are possible causes and troubleshooting steps:
- Unsupported File Type: While Batch Document Translation supports various formats, .xlsx files might not be directly supported for translation. To resolve this, consider converting your .xlsx file to a supported format like .docx, .pdf, or .txt before uploading it.
- Complex Content: If your .xlsx file contains complex formatting, charts, or embedded objects, it might cause issues during translation. You can simplify the content as much as possible. Remove unnecessary formatting, charts, and embedded objects.
- File Size Limits: Batch Document Translation has file size limits (with a limit of 100 files per batch). If your file exceeds the limit, split it into smaller files or consider using a different translation method.
- API Key or Service Account Issues: Ensure you're using a valid API key or service account with the necessary permissions for Batch Document Translation. Double-check your API key or service account configuration and permissions.
- Network Issues: Network connectivity problems can disrupt the translation process, check your network connection and ensure it's stable.
- Temporary Service Issues: Google Cloud services might experience temporary outages. Wait a short period and try again. If the issue persists, check the Google Cloud Status Dashboard for any known service disruptions.
- Error Logging and Debugging: The Google Cloud console or API response might provide more specific error messages. Enable logging for your Batch Document Translation jobs to capture detailed information about the failure.
Additional Tips:
- Start with a smaller, simpler .xlsx file to isolate the issue.
- If the issue persists, you can contact Google Cloud Support for further assistance.
I hope the above information is helpful.