You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/12/16 18:19:50 UTC

[GitHub] [nifi] greyp9 commented on pull request #5606: NIFI-7371 - Improve error handling of S3 processors

greyp9 commented on pull request #5606:
URL: https://github.com/apache/nifi/pull/5606#issuecomment-996064878


   Pulled these attributes out of a NiFi instance testing some failure conditions:
   
   [INCORRECT BUCKET NAME]
   s3.additionalDetails = {BucketName=<bad bucket name>, Error=<base64 string>}
   s3.errorCode = NoSuchBucket
   s3.errorMessage = The specified bucket does not exist
   s3.exception = com.amazonaws.services.s3.model.AmazonS3Exception
   s3.statusCode = 404
   
   [BAD FILENAME] (appended garbage to end of FetchS3Object field "Object Key")
   s3.additionalDetails = {Error=<base64 string>, Key=<bad path>}
   s3.errorCode = NoSuchKey
   s3.errorMessage = The specified key does not exist.
   s3.exception = com.amazonaws.services.s3.model.AmazonS3Exception
   s3.statusCode = 404
   
   [NETWORK CONNECTIVITY FAILURE] (disabled wifi)
   s3.exception = com.amazonaws.SdkClientException
   
   [BAD CREDENTIALS] (incorrect AWS Secret Access Key)
   s3.additionalDetails = {CanonicalRequestBytes=<hex string>}
   s3.errorCode = SignatureDoesNotMatch
   s3.errorMessage = The request signature we calculated does not match the signature you provided. Check your key and signing method.
   s3.exception = com.amazonaws.services.s3.model.AmazonS3Exception
   s3.statusCode = 403
   
   [BAD CREDENTIALS] (incorrect AWS Access Key ID)
   s3.additionalDetails = {AWSAccessKeyId=<bad key id>, Error=<base64 string>}
   s3.errorCode = InvalidAccessKeyId
   s3.errorMessage = The AWS Access Key Id you provided does not exist in our records.
   s3.exception = com.amazonaws.services.s3.model.AmazonS3Exception
   s3.statusCode = 403
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org