Skip to content

Y26-135 - [Psd-exceptions] [Limber TRAINING] sequencescape_submissions#create #5724

@wendyyang

Description

@wendyyang

Describe the bug
[Psd-exceptions] [Limber TRAINING] sequencescape_submissions#create
Exception email: (2026 April 21, 11:17)

A JsonApiClient::Errors::ClientError occurred in sequencescape_submissions#create:

  Invalid field value
  app/models/sequencescape_submission.rb:127:in 'block in SequencescapeSubmission#generate_orders

-------------------------------
Request:
-------------------------------

  * URL        : https://training.limber.psd.sanger.ac.uk/sequencescape_submissions
  * HTTP Method: POST
  * IP address : 172.20.241.19
  * Parameters : {"authenticity_token" => "[FILTERED]", "sequencescape_submission" => {"request_options" => {"library_type" => "Combined LCM RNA", "fragment_size_required_from" => "100", "fragment_size_required_to" => "500"}, "template_uuid" => "3918328a-3c9a-11f1-878c-024283ee10fe", "labware_barcode" => "SQPT-61794-N", "asset_groups" => {"0" => {"autodetect_studies" => "true", "autodetect_projects" => "true", "asset_uuids" => ["c091d37e-3d62-11f1-a844-02423261d4eb"]}}, "supplied_project_uuid" => "0feef9e8-c63b-11df-8e7f-00144f2062b0"}, "submission" => {"project_cost_code" => "46"}, "commit" => "RNA-Seq Branch - Automated Submission", "controller" => "sequencescape_submissions", "action" => "create"}
  * Timestamp  : 2026-04-21 11:17:50 +0100
  * Server : limb-training-jammy
    * Rails root : /var/www/limber/releases/20260420102402
  * Process: 1489519

...

Backtrace:
-------------------------------

  app/models/sequencescape_submission.rb:127:in 'block in SequencescapeSubmission#generate_orders'
  app/models/sequencescape_submission.rb:121:in 'Array#map'
  app/models/sequencescape_submission.rb:121:in 'SequencescapeSubmission#generate_orders'
  app/models/sequencescape_submission.rb:132:in 'SequencescapeSubmission#generate_submissions'
  app/models/sequencescape_submission.rb:47:in 'SequencescapeSubmission#save'
  app/controllers/concerns/sequencescape_submission_behaviour.rb:12:in 'SequencescapeSubmissionBehaviour#create_submission'
  app/controllers/sequencescape_submissions_controller.rb:10:in 'SequencescapeSubmissionsController#create'

FreshSerivce/RT Ticket Number
If applicable

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Sequencescape, UAT action to generate a
  2. Click 'Generate plate', fill in plate purpose 'LCMT Lysate', click 'Create Generate plates',
  3. Go to https://training.limber.psd.sanger.ac.uk/. search for the plate you just create in SS. fill in the Project cost code with e.g. 46, click 'RNA-Seq Branch - Automated submission',
Image
  1. You can see errors:
Image

Expected behaviour
The information should be more meaningful stating what cause the errors. The fix maybe in both Limber and SS.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows or Mac?
  • Browser Chrome, Firefox, Safari or other?
  • Browser version (use 'About' to look up)?

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions