Describe the bug
Samples are submitted via sample manifest with a pre-populated accession number that does not match the stiplulated service set in the study. This generates an exception email with the text No new objects can be added with MODIFY action
To Reproduce
Steps to reproduce the behaviour:
- Upload a sample manifest with an accession number pre-populated, that has not been assigned by the ENA or EGA service
- Receive a Failed accession status and exception notification email
Expected behaviour
No error should occur as this is an expected operation
Screenshots
Additional context
Explanation of study fields and how they are used: Document Study Creation Form_v2
Email content:
An Accession::ExternalValidationError occurred in background at 2026-03-08 10:30:22 +0000 :
In sample, alias: "6c6bd324-1947-11f1-8d2b-02426899d835". No new objects can be added with MODIFY action.
/var/www/sequencescape/releases/20260224125951/lib/http_clients/accessioning_v1_client.rb:103:in 'HTTPClients::AccessioningV1Client#raise_if_failed'
-------------------------------
Backtrace:
-------------------------------
...
-------------------------------
Data:
-------------------------------
* data: {message:
"SampleAccessioningJob failed for sample '7370STDY16705489': In sample, alias: \"6c6bd324-1947-11f1-8d2b-02426899d835\". No new objects can be added with MODIFY action.",
sample_name: "7370STDY16705489",
service_provider: "ENA",
user: "xxnn"}
Describe the bug
Samples are submitted via sample manifest with a pre-populated accession number that does not match the stiplulated service set in the study. This generates an exception email with the text No new objects can be added with MODIFY action
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
No error should occur as this is an expected operation
Screenshots
Additional context
Explanation of study fields and how they are used: Document Study Creation Form_v2
Email content: