Convert Image to PDF from Forge not working.... gives an error: Index was outside the bounds of the array
Hi Miguel,
Kindly check the List parameter that is being formed. As per the error throw it looks like you are trying to reference an index for the list that does not exist.
Hello Saurabh, thanks for the help.
I'm only using the "CreatePDF" action and i can't go inside the action to see what's happening.
Hi,
I am getting the same error while using it, was you able to resolve this?
How can we convert image file into pdf file please explain the details and code
Hi All,
I passed the base64 list to function, and I got the same issue when using this forge component. I need to open the integration studio to check the code, there seems to be nothing wrong with the code. Then, I do the unit test directly with the component, and the real error raised is different from the "Index was outside the bounds of the array" error, it is something that my input is wrong format.
Because I am using base64 with the full format on web, which is "data:image/jpeg;base64,...", it caused the error. I just remove it, then works like a charm
Hope this help
Thanks and best regards
Shingo Lam