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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom Vision - Conten...
Power Apps
Unanswered

Custom Vision - Content Type Image JPEG not Supported

(0) ShareShare
ReportReport
Posted on by

I am working on developing an app to simplify a survey for field employees.  The app utilizes a Custom Vision classification model to identify various items.  It is a multiclassification model so I would like the app to return all of the tags and Custom Visions probability rating.  The app was up and running all of last week and yesterday morning and was even successfully tested on various users phones.  We were set to launch to the entire field this afternoon, but started recieving this error when performing final checks.

 

Error Message:

Custom Vision.predict Image failed: {"Code": "Unsupported Media Type", "Message": "Content-Type 'image/jpeg' is not Supported'"}

 

The app uses the Add Picture media tool to capture an image, or allow the user to select an image.  Then it passes the picture to Custom Vision to be analyzed using the following command:

 

OnChange=ClearCollect(PredictionOutcome, CustomVision.PredictImage("ProjectID", UploadedImage1, {iterationId:"IterationID"})); 

 

I have tried the code in various new applications only to ge the same error code.  In addition the error is present with PNG images, despite having worked on both JPEG and PNG images in the past.  I have also added .Image to UploadedImage1 in the code, but it still provides the same result.

 

Does anyone know why this is happening and/or how to fix it?

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Bumping for visibility 

     

    @Anonymous 

  • JamesM Profile Picture
    271 on at

    I have the same error occuring.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard