amynic / zero-to-ai-app

A repository with instructions on how to make an AI application using Azure Custom Vision Service, Azure Logic Apps and Microsoft Power Apps
15 stars 4 forks source link

Logic App and Default Iterations #1

Open Ryan-George opened 5 years ago

Ryan-George commented 5 years ago

Amy,

Great job on this demo! You documented it wonderfully. I've been working through the steps and have run into a roadblock at the logic app steps. Within the logic apps, the step that sends the uploaded image from the blob storage to the custom vision service is failing. I'm getting a "404" error with a "Project has no default iteration" message.

Looking at this github page, It looks like it is a version issue. The code for the generated custom vision step seems to be referencing v1.0. I didn't see any newer control steps on the logic apps creator page.

Do you know if they have an update coming soon or do you know of a work around?

The only difference I noticed was that my Custom Vision project had two iterations and I published the second one. Maybe because yours had one iteration you didn't run into the problem? I may try and recreate the Custom Vision project with only one iteration and see if that works.

Anyways, nice meeting you at Build and thanks for this project. It's been a good introduction to Cognitive Services.

amynic commented 5 years ago

Hi @Ryan-George 👋 thanks so much for reaching out and trying out the content. One thing to double check is on the Custom Vision block in Logic Apps you are choosing 'add new parameter' and selecting the interation ID? then in here you could type 'Iteration2' and this might fix the issue? Let me know if this works and if not I will keep investigating 👩‍💻 image