ребят , а почему так
response Body: {
май 26 13:31:38
api-ampq02a-dev.infra.hostkey.ru receiver[14066]: "error": {"message":"PG::ForeignKeyViolation: ERROR: insert or update on table \"nics\" violates foreign key constraint \"nics_subnet_id_fk\"\nDETAIL: Key (subnet_id)=(0) is not present in table \"subnets\".\n: INSERT INTO \"nics\" (\"mac\", \"ip\", \"type\", \"name\", \"host_id\", \"subnet_id\", \"domain_id\", \"created_at\", \"updated_at\", \"primary\", \"provision\") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING \"id\""}
май 26 13:31:38
api-ampq02a-dev.infra.hostkey.ru receiver[14066]: }
май 26 13:31:38
api-ampq02a-dev.infra.hostkey.ru receiver[14066]: 2021/05/26 13:31:38 unexpected end of JSON input