question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InvalidParameterException

See original GitHub issue

Sometimes 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:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lazywithclasscommented, Nov 4, 2016

Aaah I get it!

Thank you so much for the explanation @FlorianBouron, I will have a look at this over the weekend.

0reactions
lazywithclasscommented, Nov 7, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found