web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / On Android user gets e...
Power Apps
Unanswered

On Android user gets error uploading photos via a flow.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am using a flow to upload a photo taken from a powerapp to sharepoint (aas demod by paul culse).

This has stopped working on android devices, but still works on iphone. On Android, users get a message 'Contract failure: Contruction of a PABinary should always result in a valid instance'.

Screenshot_20180425-170017.png
Categories:
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous

     

    I think this is identical to the bug that @ChrisTCF reported here, which unfortunately still appears to be unresolved.

     

    https://powerusers.microsoft.com/t5/General-Discussion/AfterApril-7-Contract-failure-Construction-of-a-PABinary-always/m-p/105850/highlight/true#M38603

  • ChrisTCF Profile Picture
    24 on at

    As a matter of fact, it's also happening on IOS/Iphones. I raised a ticket with Microsoft and they are aware of the issue, it's a size limitation they introduced by April 7 and following versions of PowerApp (feature or bug - no one seems to know that really Smiley Sad ), it worked fine before, but now if the picture is a bit larger (I think more than 4mb) it will fail with this error.

     

    Only workaround is to reduce camera resolution when taking picture, using a white background if you take pictures of expense receipts or similar, but tell that to a normal user, they can't handle it and who is going to change the camera to low-res....works maybe for 40% of the users....

     

    I insistend to escalate further as I'm not happy with the workaround (which is not really a usable one in business). I haven't heard back. To be honest, it doesn't help me or my customers at all, they can't use the app so it's worthless and I'm the partner to be blamed and losing trust from my customer.

     

    You could try a direct upload method, but it will only allow 640x480 pics, not really sexy but it could work (didn't test, but we had this before we used json connector), so my conclusion is they won't fix anything, so you have to wait maybe until June when they probably introduce a direct methode of taking pictures and storing it in SPO (lists as well as folders I hope)......

     

     

     

     

     

  • AllenKim Profile Picture
    Microsoft Employee on at

    Hi @Anonymous, @ChrisTCF,

     

    I replied to ChrisTCF's original forum post. This was definitely not a feature we introduced. It was a change in behavior and I apologize for that. We hope to ship a fix for this issue in the release after next (around a couple of weeks).

     

    Here is my reply to the original forum post (https://powerusers.microsoft.com/t5/General-Discussion/AfterApril-7-Contract-failure-Construction-of-a-PABinary-always/m-p/105850😞

     

    Apologies for the break in functionality and the lack of response. We have identified the root cause of the issue and have already fixed it in our internal builds. We hope to ship the fix in the release after next (around 2 weeks).

     

    While not a definitive workaround, the error can be avoided by taking pictures that result in a smaller file size. For example, when I used an old iPad (I think v1 or v2), I could not reproduce the issue due to the lesser megapixel camera. On my iPhone 7 Plus, I would not hit the issue when I took a "simple" photo (e.g. a photo of a blank, white wall). However when taking more "complex" photos (e.g. scenery) on my iPhone 7 Plus, I would run into the same issue.

     

    Thank you,

    Allen

  • ChrisTCF Profile Picture
    24 on at

    @AllenKim Thanks, thats finally good news.Somewhat I'm pretty disappointed with the support process. I talked to India about 5 times and had to really insist to escalate this issue and I haven't got an answer even close to your statement....but you made my day, I can finally talk to the customer and give him a thumbs up...

     

     

     

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard