Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2901

Core API Person Write API DELETE fails with 500 server error

    XMLWordPrintable

Details

    Description

      A CO Person record is available via the Core API Person Write API. Here is a curl command piped through jq to show that the record exists:

      $ curl --silent --user 'co_42.rest_user_02:XXXXXXXX'     https://registry-test.cilogon.org/registry/api/co/42/core/v1/people/100052 | jq '.CoPerson'
      {
        "meta": {
          "id": 5048,
          "created": "2025-02-19 12:33:21",
          "modified": "2025-02-19 12:33:21",
          "co_person_id": null,
          "revision": 0,
          "deleted": false,
          "actor_identifier": "co_42.rest_user_02"
        },
        "co_id": 42,
        "status": "A",
        "timezone": null,
        "date_of_birth": null
      } 

      The DELETE call fails:

      $ curl -X DELETE  --user 'co_42.rest_user_02:XXXXXXXX'     https://registry-test.cilogon.org/registry/api/co/42/core/v1/people/100052 
      <!DOCTYPE html>
      <html lang="en">
        <head>
          <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
          <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    <title>Errors</title> 

      Tested on both 4.3.5 and 4.4.1 so it has been around for a while.

      Attachments

        Activity

          People

            scott.koranda@at.internet2.edu Scott Koranda
            scott.koranda@at.internet2.edu Scott Koranda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: