cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Muhimbi QR code insert error

Tried to insert QR code with Muhimbi but get the follwoing error:

 

"An unexpected error occurred while processing your request. - Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."

 

Untitled.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

I am not super familiar with the 'Populate a Microsoft Word template' action, but the Muhimbi Flow actions don't know where files are read from, or need to be written to. (A good thing)

 

It takes an input file from somewhere (trigger, SharePoint Get Item attachment, OneDrive etc), assuming this file is in PDF format, you pass the data into the QR Code watermark. The output of the QR code watermark is a binary file, which you can write to any location (OneDrive, SharePoint Online etc).

 

>> Furthermore, after converting and adding the QR code, I tried to save it back as an attachment to SPO, I can see the attachment on SPO but when I tried to open it Adobe it says it is not a supported file type or has been damaged?

 

Try saving it to a regular document library, or sending it as an email attachment. Perhaps something is going wrong with the list item attachment. 

 

 

View solution in original post

3 REPLIES 3
Advocate I
Advocate I

Hi Andries,

 

At this moment in time, QR Codes can only be applied to PDF files, so you will need to convert your source document to PDF first.

 

If you have any questions, please drop support@muhimbi.com a line.

 

Jeroen

Thanks That worked, but does that mean that you will first have to save the file "Populate Word Template" and then retrieve the attachment again in order to convert? I Tried Pulling it directly from the populated word template but Muhimbi errors saying the source file name is too long? Furthermore, after converting and adding the QR code, I tried to save it back as an attachment to SPO, I can see the attachment on SPO but when I tried to open it Adobe it says it is not a supported file type or has been damaged?

Hi,

 

I am not super familiar with the 'Populate a Microsoft Word template' action, but the Muhimbi Flow actions don't know where files are read from, or need to be written to. (A good thing)

 

It takes an input file from somewhere (trigger, SharePoint Get Item attachment, OneDrive etc), assuming this file is in PDF format, you pass the data into the QR Code watermark. The output of the QR code watermark is a binary file, which you can write to any location (OneDrive, SharePoint Online etc).

 

>> Furthermore, after converting and adding the QR code, I tried to save it back as an attachment to SPO, I can see the attachment on SPO but when I tried to open it Adobe it says it is not a supported file type or has been damaged?

 

Try saving it to a regular document library, or sending it as an email attachment. Perhaps something is going wrong with the list item attachment. 

 

 

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,541)