java.lang.IllegalArgumentException: Input is expected to be encoded in multiple of 4 bytes but found: 381

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by markrebhan
, 1 year ago
Input is expected to be encoded in multiple of 4 bytes but found: 381
via GitHub by pat-humphreys
, 9 months ago
Input is expected to be encoded in multiple of 4 bytes but found: 43
java.lang.IllegalArgumentException: Input is expected to be encoded in multiple of 4 bytes but found: 381
at com.amazonaws.util.Base64Codec.decode(Base64Codec.java:197)
at com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.FileRecordParser.parse(FileRecordParser.java:45)
at com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.AbstractKinesisRecorder.nextBatch(AbstractKinesisRecorder.java:204)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.