I’m seeing more and more Base64Url encoded data being used, especially around JWT tokens. Linx supports Base64 functions in its Expressions but not Base64Url (yet). Luckily it is quite simple to do your own conversion with a Linx expression.
Base64 to Base64Url: =Base64.Replace("/", "_").Replace("+", "-").TrimEnd('=')
I would suggest splitting this step into 2 to make it easier to debug.
Thus I would add a List to the process and change it’s type to Byte and set its value to file_data.ToBytesFromBase64. Then I would add my String and set it’s value to List.ToString(“UTF8”)
Thank you for the quick response. Now its giving me error on list
Cannot assign type [List`1] to type [Byte]
I have read a json object from a service and its response contains one field with string64 data and now its not decoding.
My guess is that you’re assigning the wrong items to the wrong types. Drop us a mail at support@linx.software with the solution or screenshots of the solution and assignments.