This might be a downstream issue in Archnet, but when trying to add related Media or Publications to a Collection (for example), I see the following error:
4:58:13 PM api.1 | (2.2ms) SELECT COUNT(*) FROM "record_associations" WHERE "record_associations"."parent_id" = $1 AND "record_associations"."parent_type" = $2 AND "record_associations"."child_type" = $3 [["parent_id", 662], ["parent_type", "Collection"], ["child_type", "Publication"]]
4:58:13 PM api.1 | Completed 500 Internal Server Error in 7ms (ActiveRecord: 3.3ms | Allocations: 3914)
4:58:13 PM api.1 | Pagy::OverflowError (expected :page in 1..1; got 2):
4:58:13 PM api.1 | pagy (5.10.1) lib/pagy.rb:37:in `initialize'
4:58:13 PM api.1 | pagy (5.10.1) lib/pagy/backend.rb:13:in `new'
4:58:13 PM api.1 | pagy (5.10.1) lib/pagy/backend.rb:13:in `pagy'
4:58:13 PM api.1 | resource-api (fee23a1eacd9) app/controllers/api/resource_controller.rb:38:in `index'
This might be a downstream issue in Archnet, but when trying to add related Media or Publications to a Collection (for example), I see the following error: