Uploaded image for project: 'mod-users'
  1. mod-users
  2. MODUSERS-138

POST requests to /users fail - syntax error at or near ")"

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      CP: sprint 69
    • Story Points:
      1
    • Development Team:
      Core: Platform

      Description

      The following request generates a response with status-code 500:

      POST https://folio-testing-okapi.aws.indexdata.com/users
      
      {
        "active":"true",
        "personal": {
          "preferredContactTypeId":"002",
          "lastName":"McTesterson",
          "firstName":"Testy",
          "email":"test@example.com",
          "phone":"5855555555"
        },
        "patronGroup":"3684a786-6671-4268-8ed0-9db82ebca60b",
        "id":"065af7df-f07f-4f1f-8a9f-956cb1a636c3"
      }
      

      Response:

      ErrorMessage(fields=Map(
        Position -> 133, 
        Line -> 1128, 
        File -> scan.l, 
        SQLSTATE -> 42601, 
        Routine -> scanner_yyerror, 
        V -> ERROR, 
        Message -> syntax error at or near ")", 
        Severity -> ERROR
      ))
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hji Hongwei Ji
                Reporter:
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases