Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with WPML's Advanced Translation Editor (ATE) such as receiving errors like 'Unable to retrieve job details' and 'finalCallback.incompleteResponse' after trashing an incorrectly assigned post and its translation, and then creating a new post with the same title and content in the correct language.
Solution:
We recommend the following steps:
1. Ensure that you have deleted the trashed post completely.
2. Visit WPML > Support > Troubleshooting and run the options to remove ghost entries and cancel in-progress automatic jobs.
3. If the issue persists, try duplicating the post to give it a different job ID and attempt the translation again.
4. If none of the above resolves the issue, it may be necessary to escalate this to our second-tier support or perform further debugging.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 0 replies, has 2 voices.

Last updated by kristoferS-2 4 days, 1 hour ago.

Assisted by: Ilyes.

Author Posts
November 5, 2024 at 1:20 pm #16366882

kristoferS-2

Background of the issue:
I am trying to translate a post using WPML's Advanced Translation Editor (ATE) after an editor added a new post under the wrong language. I trashed the incorrect post and its translation, then created a new post with the same title and content in the correct language. I also cancelled the pending translation jobs from Translation Management.

Symptoms:
When I try to translate the post with ATE, I get the error 'Unable to retrieve job details'. Additionally, I see an error 'finalCallback.incompleteResponse' in the console tab in my browser's DevTools. There are no errors in WP debug.log or the ATE error log.

Questions:
How can I resolve the 'Unable to retrieve job details' error in ATE?
What does the 'finalCallback.incompleteResponse' error mean and how can I fix it?

November 5, 2024 at 11:16 pm #16369372

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello again,

After further research, the issue is related to the content of this specific post itself, either there is an element (Widget, block...) that is causing an unexpected issue, or there is a lot of code in it, like a lot of empty HTML tags, uselessly nested tags, etc...

To better know that, either share an admin access to your side with the promise to not change anything, we are just going to try sending the same post again ourselves and monitor what happens in the backend,

If that's not possible, could you at least share the XLIFF file of this translation job, to get that, simply go to WPML > Translation management > Select the concerned post > Select translate myself/or assign to translator > Go to the translation basket and assign the translation job to yourself > Go to WPML > Translation > Select the concerned JOB and export to XLIFF 1.0 as shown here : hidden link

Please share this file so we can see the content of the post,

Best,

November 6, 2024 at 8:12 am #16369985

kristoferS-2

Hello Ilyes,

Thank you for looking into this. I made an XLIFF export in both 1.0 and 1.2 format, in separate zip files. You can find them here: hidden link

November 7, 2024 at 7:38 pm #16379849

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello again,

I'm escalating this to our 2nd tier, and I suggest to do the following test :

1- Open ATE (Advanced Translation Editor) on any other page that works
2- At the top right corner, click on the settings icon
3- On the settings tab, you can Disable "Big segmentations" and revert back to the previous ATE version (GEN2)

The design of ATE will change to the previous version, could you now resend the translation job again and see if it opens with this version?

Please let me know once done,

Best,

November 11, 2024 at 9:55 am #16387661

kristoferS-2

I have disabled big segmentations and reverted to previous ATE version. Unfortunately, it is still not working.

ATE URL: hidden link

ATE console log:
VM15 dashboard:2 FIRST
VM15 dashboard:4 AppConfig 3.26.1
VM15 dashboard:21 render time Mon Nov 11 2024 10:35:40 GMT+0100 (Central European Standard Time)
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67 Promise
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:68 setKeys Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 window.onError.bound
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:68 464488255ac438088f4c08b7dc767c9c deeb89ef379bffc0afc164f0a8ab4ee5 Object 119463784 en
setKeys @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:68
setKeysFromGen3 @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:68
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:57
r @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:18
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:18
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:18
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
er @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
cw.CALL @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
s @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
i @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
cw.SELECT @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
s @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
i @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
t.cont @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
i @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67
Bn @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
Vn @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
Fn @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
cw.PUT @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67
(anonymous) @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
s @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
u @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
i @ application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:56
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67 setAppStatus WAITING_FOR_AUTH_DATA -> INITIALIZING
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:68 browser check: undefined
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [0] TinyMceStore.check Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [1] GlossaryStore.loadedGlossary Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [2] CmsStore.loadedCms Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [3] CmsStore.updatedCms Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:66 Objectate_ams_console_url: nullback_to_ate_url: "hidden link"blocked: nullcms_id: "701"deadline: 1731749480engine: nullextras: {organization_uuid: 'a19721a8-21f3-4879-97ba-1589060cb16d', website_uuid: null, settings: {…}, translator_settings: {…}, extra_settings: {…}, …}id: 119463784job_type: 2known_errors: [{…}]mt_available: falsemt_tm_word_count: nullmt_tracking_code: nullmt_word_count: nullmultiplier: 1permlink: nullpreloading: truesource_language: {name: 'Swedish'}status: 10target_language: {name: 'English'}title: nullwebsite: {id: 1}[[Prototype]]: Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:67 setAppStatus INITIALIZING -> LOADING
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [4] CurrentMtUsageStore.load load MtUsage
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [5] CurrentMtUsageStore.loaded Object
application-b2f9b31a9e5a03d058bce9000050588cf42ae13fc63dcddc66221e4cc1a89a50.js:3 [6] CurrentMtUsageStore.plans_loaded Object

November 12, 2024 at 10:44 pm #16394886

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Thanks for the follow-up,

I sent our findings to our 2nd tier team, I will get back to you once I receive an update,

Best,

November 13, 2024 at 7:48 am #16395633

kristoferS-2

Thanks

November 13, 2024 at 8:59 pm #16399547

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I would like to run the following test, could you try it?

As of now, we do not see which exact part is causing such behavior, on the concerned post, could you remove parts gradually from the post to see if there is anything that's blocking the job retrieval? Start deleting the content block by block or widget by widget, and each time save and test if the translation editor opens.

Also, is it possible to prepare a staging environment of your site so we can freely test on it?

Best,

November 20, 2024 at 6:47 am #16422275

kristoferS-2

Hello again,

Sorry about the late reply.

As of today, I am no longer to reproduce the error.

There was however an empty segment visible in the ATE, right before the H2 block. I noted that the previous paragraph was ending with two spaces, followed by non-breaking space "  ". There were also other paragraphs ending with non-breaking space. But they were not followed by empty segments in ATE.

I belive these non-breaking spaces are unintentional artifacts from Word-to-WP conversion. With that said, shouldn't non-breaking spaces be shown as <wpml_nbsp> in ATE? At least that is what I have seen before.

November 20, 2024 at 7:51 pm #16426440

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

I checked the concerned page "Om Oss" and I do not see any empty segments nor the spaces you are referring to : hidden link

Could you please specify which page do you see this issue?

Best,

November 21, 2024 at 7:22 am #16427503

kristoferS-2

Must have sent the wrong link. It is this one: hidden link

Anyway, I restored the revision of the original that had empty sections in ATE but ATE is not show that (empty section) anymore. Is there anything left to do at this point?

November 22, 2024 at 2:30 am #16431565

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

It seems to be working fine, let me know if you get the issue again,

November 22, 2024 at 8:42 am #16432335

kristoferS-2

Will do. Thanks for helping out with the investigation.