Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1751

CBATS : Get documentTemplates throwing error

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Integration with CBAT
    • Labels:
      None

      Description

      { "status": "error", "message": "Ambiguous match found.", "errorLevel1": "Error", "code": 500, "description": "Ambiguous match found." }

      Above error coming while calling API from OneIam

        Attachments

        1. Pre-Prod API Success.png
          Pre-Prod API Success.png
          185 kB
        2. Screenshot (3811).png
          Screenshot (3811).png
          169 kB
        3. Screenshot (3812).png
          Screenshot (3812).png
          215 kB
        4. Screenshot (3813).png
          Screenshot (3813).png
          220 kB
        5. Screenshot (3814).png
          Screenshot (3814).png
          225 kB

          Activity

          rohan.khandave Rohan J Khandave (Inactive) created issue -
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Field Original Value New Value
          Epic Link DMS-473 [ 75966 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Samir [ samir ] Rohan J Khandave [ rohan.khandave ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Attachment Pre-Prod API Success.png [ 115960 ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          This issue occurred only on production , working fine on pre-production. Refer below screen shots for same.

          Concern: Error on get document template API
          Cause: As per observation this issue coming for API having different parameters with same method names.
          Correction: We have changed method names only. There is no change in api URL.

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - This issue occurred only on production , working fine on pre-production. Refer below screen shots for same. Concern: Error on get document template API Cause: As per observation this issue coming for API having different parameters with same method names. Correction: We have changed method names only. There is no change in api URL.
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Ganesh Sadawarte [ ganesh.sadawarte ]
          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited

          Below API needs to verify

          /api/candidateProfile/

          {emailAddress}
          -----------------------------------------------------------
          /api/candidateProfile/{emailAddress}

          /

          {sourceProduct}/{documentId}
          ------------------------------------------------------------
          /api/documentTemplates/{sourceProduct}

          /

          {templateType?}

          -----------------------------------------------------------
          /api/documentTemplates/

          {sourceProduct}
          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - - edited Below API needs to verify /api/candidateProfile/ {emailAddress} ----------------------------------------------------------- /api/candidateProfile/{emailAddress} / {sourceProduct}/{documentId} ------------------------------------------------------------ /api/documentTemplates/{sourceProduct} / {templateType?} ----------------------------------------------------------- /api/documentTemplates/ {sourceProduct}
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) logged work - 09/Aug/19 06:13 AM
          • Time Spent:
            0.25h
             
            • Code review.
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 0.25h [ 900 ]
          Worklog Id 194186 [ 194186 ]
          rohan.khandave Rohan J Khandave (Inactive) logged work - 09/Aug/19 07:51 AM
          • Time Spent:
            1h
             

            Analysis & Code Change

          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Time Spent 0.25h [ 900 ] 1.25h [ 4500 ]
          Worklog Id 194228 [ 194228 ]
          Hide
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment -

          Code review done.

          Show
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - Code review done.
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Ganesh Sadawarte [ ganesh.sadawarte ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) logged work - 14/Aug/19 04:57 AM
          • Time Spent:
            1.5h
             

            Preprod testing

          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited

          Environment; Preprod - OneIM
          API:

          1. /api/candidateProfile/ {emailAddress}
          2. /api/candidateProfile/{emailAddress}/{sourceProduct}/{documentId}
          3. /api/documentTemplates/{sourceProduct}/{templateType?}
          4. /api/documentTemplates/ {sourceProduct}

          Refer screen capture. So, marking jira done.

          Samir Rohan J Khandave Sachin Hingole Hrishikesh Deshpande

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - - edited Environment; Preprod - OneIM API: /api/candidateProfile/ {emailAddress} /api/candidateProfile/{emailAddress}/{sourceProduct}/{documentId} /api/documentTemplates/{sourceProduct}/{templateType?} /api/documentTemplates/ {sourceProduct} Refer screen capture. So, marking jira done. Samir Rohan J Khandave Sachin Hingole Hrishikesh Deshpande
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (3812).png [ 116351 ]
          Attachment Screenshot (3811).png [ 116352 ]
          Attachment Screenshot (3814).png [ 116353 ]
          Attachment Screenshot (3813).png [ 116354 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 1.25h [ 4500 ] 2.75h [ 9900 ]
          Worklog Id 194881 [ 194881 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status Done [ 10001 ] In QA Testing [ 11901 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          Transition Time In Source Status Execution Times
          Rohan J Khandave (Inactive) made transition -
          To Do In Progress
          3m 28s 1
          Rohan J Khandave (Inactive) made transition -
          In Progress Code Review
          5m 55s 1
          Rohan J Khandave (Inactive) made transition -
          Code Review In QA Testing
          2d 23h 23m 1
          Raj Hawaldar (Inactive) made transition -
          Done In QA Testing
          13d 18h 21m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          24d 8h 47m 2

            People

            Assignee:
            priya.dhamande Priya Dhamande (Inactive)
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.75h
                2.75h