cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
M4k5
New Member

Handling hex files with MSB set in base64 format becomes faulty in handling process

Hi,

 

I am currently working on a project where a manually generated hex file is used. There are cases where the MSB of some bytes are set as shown in Figure 1 as an example. 

M4k5_0-1626791118519.png

This file then gets converted to a base64 string for usage in the Flow which looks like this:

 

First String:

8GVzdDEyMw==

 

In my Flow I then combine this String with another base 64 String by converting both to binary:

 

Second String:

QWRkb24=

 

M4k5_1-1626791679357.png

 

As an output I get an base64 string which is combined:

 

Output String:

77+9ZXN0MTIzQWRkb24=

 

M4k5_2-1626791785835.png

 

When trying to reconvert this combined base64 string back into hex I get unexpected hex values which do not represent the inserted hex file:

M4k5_3-1626791859183.png

 

This problem only occured when setting an MSB in the hex file.

Maybe there is a conversion problem in Power Automate or I am unaware of something I am doing wrong.

 

Thanks already!

Maks

1 REPLY 1
M4k5
New Member

Does nobody has any idea on how to fix this?

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,984)