From an email:
Je me permets de vous écrire par rapport aux erreurs que je rencontre en essayant de modifier les méta-données de documents.
J’effectue la requête avec Curl comme indiqué => https://forge.softwareheritage.org/P815
Voici le résultat de la requête pour récupérer le statut
```
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl.org/net/sword/"
xmlns:dcterms="http://purl.org/dc/terms/">
<deposit_id>21</deposit_id>
<deposit_status>done</deposit_status>
<deposit_status_detail>The deposit has been successfully loaded into the Software Heritage archive</deposit_status_detail>
<deposit_swh_id>swh:1:dir:998b89033f20b31dbad54263d8acdbbcc7ce3c1f</deposit_swh_id>
<deposit_swh_id_context>swh:1:dir:998b89033f20b31dbad54263d8acdbbcc7ce3c1f;origin=https://inria.halpreprod.archives-ouvertes.fr/hal-02511079;visit=swh:1:snp:a89c77297d90d8e49ed9f7062c24bfa84b1e4b7f;anchor=swh:1:rev:f6f4e99c40f2cc41fcb9af0d03ba9c63d5d908e0;path=/</deposit_swh_id_context>
<deposit_external_id>hal-02511079</deposit_external_id>
</entry>
```
Voici le résultat de la requête de modification avec l'erreur.
```
<?xml version="1.0" encoding="utf-8"?>
<sword:error xmlns="http://www.w3.org/2005/Atom"
xmlns:sword="http://purl.org/net/sword/">
<summary>Mismatched provided SWHID swh:1:dir:998b89033f20b31dbad54263d8acdbbcc7ce3c1f, swh:1:dir:998b89033f20b31dbad54263d8acdbbcc7ce3c1f with deposit's swh:1:dir:998b89033f20b31dbad54263d8acdbbcc7ce3c1f.</summary>
<sword:treatment>processing failed</sword:treatment>
<sword:verboseDescription>
The provided SWHID does not match the deposit to update. Please ensure you send the correct deposit SWHID.
</sword:verboseDescription>
</sword:error>
```