InvalidParameterException
See original GitHub issueSometimes this can occur InvalidParameterException: 1 validation error detected: Value '[]' at 'logEvents' failed to satisfy constraint: Member must have length greater than or equal to 1
, I assume because the data being set is empty. It would be nice if this could be suppressed so you don’t have to validate before logging somewhat arbitrary data, or if the data provided is empty, then this module could do the checks and format it so it would wouldn’t error from aws sdk.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
InvalidParameterException (Java Platform SE 7 )
This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method. See Also:...
Read more >c# - InvalidParameterException or IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument. As a general suggestion, I would say that you...
Read more >InvalidParameterException (AWS SDK for Java - 1.12.372)
An input parameter violated a constraint. For example, in synchronous operations, an InvalidParameterException exception occurs when neither of the S3Object ...
Read more >InvalidParameterException - Android Developers
Constructs an InvalidParameterException with no detail message. A detail message is a String that describes this particular exception.
Read more >java.security.InvalidParameterException java code examples
InvalidParameterException indicates exceptional conditions, caused by invalid parameters. Most used methods. <init>. Constructs a new instance of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aaah I get it!
Thank you so much for the explanation @FlorianBouron, I will have a look at this over the weekend.
Closing here, continuing in the PR; @btmdave once the PR is merged please feel free to reopen here in case you still have the problem.