|
Component |
edoc invoice |
|---|---|
|
Version |
23.2.8.6 - 25.1.6.1 |
|
Created on |
|
|
Last modified on |
|
|
Review status |
|
|
KB article number |
435191878 |
Summary
The Document not found message means that the document cannot be found in the ECM system, such as d.velop documents. The job therefore causes an error in edoc invoice.
In edoc documents, under Failed Jobs in the Tasks column, you will find the entry DocumentChanged. The following error is displayed in the details for this task:
“{\'message\”:\"{\\\errnor\\\" :{\\\"code\\\“:400, \\\”exception\\\" : \\\“D3ApiException\\\”,\\\"message\\\" : \\\“[111 - 0] : Document not found\\\”}}\",\"statusCode\”:400,\”details\” : {}} in /var/www/app/Http/Controllers/ContentService/ContentServiceApi.php : 256“
In this Knowledge Base article, you'll learn how to resolve the issue.
Important requirements
-
Administrative permissions in edoc invoice and edoc documents.
-
Appropriate access rights for the documents in the ECM system.
-
Administrative permissions for the documents in the ECM system being used.
Solution
The steps in this solution apply to d.velop documents as the destination system. If you are using a different ECM system, adapt the steps accordingly.
Step 1: Prevent errors for new jobs in d.velop documents
To prevent additional jobs from being created in edoc invoice, disable the option to update modified documents in d.3 admin.
Here's how
-
Open d.3 admin on the d.velop documents server in edit mode.
-
Go to System Settings > d.3 config.
-
Disable Update WFL when documents are changed.
-
Save the change.
Step 2: Review and clean up existing jobs in edoc documents
In this step, you'll learn how to resolve the existing errors.
Here's how
-
Open edoc workplace in your browser.
-
In the 9-dot menu (App menu), click on the edoc documents entry.
-
In the Journals section, click Failed Jobs.
-
In the Queue Liste (Queue List) section, locate the DocumentChanged entry in the Aufgaben (Tasks) column and click on Details.
-
Open the Payload section and go to the dependentDocumentLink entry to identify the document ID of the relevant document in d.velop documents.
-
Make a note of the document ID and check whether the document exists in d.velop documents. Depending on the situation, proceed as follows:
-
The document is available in the ECM system: Restart the failed job in edoc invoice. The document will now be processed successfully. If multiple documents have this error and the documents are available, click on Alle neustarten (Restart all) in the ribbon. In this case, all jobs will be restarted simultaneously.
-
Document does not exist in the ECM system: If no document exists, it was likely deleted from d.velop documents. You can therefore also delete the job in edoc invoice. In this case, please contact the edoc support.
-