© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
TheSnowOwl

❔ Base64 invalid string error while the input is valid

so im working with base64 that has to be decoded, i made a handy method for it so i can do it easily whenever i need. but it says the base64 string was invalid. i went to an online decoder and it decoded it to exactly what i needed it to be. so now im really confused :/
perhaps someone here could lend me a hand

context provided in the attached screenshots
image.png
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

[solved]Stuck on a The input is not a valid Base-64 string error
C#CC# / help
17mo ago
base64 encoding csv string
C#CC# / help
2y ago
❔ X509 Certificate from base64 string
C#CC# / help
4y ago
✅ Malformed input: 321 is an invalid input length
C#CC# / help
2y ago