@Jesse Johnson Thanks for reaching out. As per the error "ErrorException: Operation returned an invalid status code 'NotFound'at" it seems that the error message you are receiving is indicating that the specified resource was not found. This could be due to a number of reasons, such as incorrect project ID, iteration name, or file name.
To troubleshoot this issue, you can try the following steps:
Double-check that the project ID and iteration name are correct. You can find the project ID and iteration name in the Custom Vision portal.
Verify that the file name of the temporary file is correct and that it contains the image data that you expect.
Check that the stream is being read correctly from the temporary file. You can try logging the length of the stream to verify that it contains the expected number of bytes.
Ensure that the Custom Vision API endpoint and key are correct. You can check these values in the Azure portal.
If none of these steps resolve the issue, you may need to provide more information about your code and environment to help diagnose the problem or need over one on one support to review it.