Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25533

Lambda picture generation fails with 'The specified key does not exist' exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.3
    • Tags:
    • Sprint:
      nxcore 10.3.6
    • Story Points:
      3

      Description

      See attachment for full stack trace.
      Using: S3 ( with direct upload) lambda fails with:

      2018-08-03T19:22:33.630Z 70eca6f2-9752-11e8-abbf-b752e7014a55 Downloading default:f26bbe99a78ca23334f2d50d23c1b7ef from: nbm-oso-0-dev-int
      2018-08-03T19:22:33.751Z 70eca6f2-9752-11e8-abbf-b752e7014a55 NoSuchKey: The specified key does not exist.
      at Request.extractError (/var/task/node_modules/aws-sdk/lib/services/s3.js:577:35)

      The problem is that the lambda is looking to fetch the key with the prefix "default" from the bucket, but we don't use a bucket prefix.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours
                1d 3h