Hi
@Mateusz Wojcik,
I dealt with a similar issue just the other day with some Base64-encoded data I was getting from GMail. What I found, in that case, is that the data contained '-' and '_' characters. According to
RFC 4648, those are not valid characters for the main Base64 character set. However, when Base64 data is sent across the web the supported characters '+' and '/' cause issues because they are special characters in URLs. So, there's this concept of
Base64 web safe characters which amounts to encoding data in Base64 and then replacing any '+' and '/' characters with '-' and '_', respectively.
All that is to say you might want to check your Base64 data to see if it contains any '-' or '_' characters. If it does, replace them with '+' and '/' and then try to decode the data.
Here's some example code:
System.Text.StringBuilder _encodedData = new System.Text.StringBuilder(base64Data);
_encodedData.Replace("-", "+");
_encodedData.Replace("_", "/");
If that doesn't work, I'd suggest reaching out to VenturIQ to see if they can offer some guidance. The support link they posted for that asset is
https://venturiq.com/contact-us/Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------