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

          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.
          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}
          Hide
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment -

          Code review done.

          Show
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - Code review done.
          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

            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