I have noticed a rather strange error with the Emotion API from the Cognitive Services suite.
Everything works just fine as long as I send it URL's. When sending it image attachments. I receive this JSON error:
{ error: { code: 'InvalidImageSize', message: 'Image size is too small or too big.' } }
Sending it smaller or larger versions does not help. Send a URL of the same image, and suddenly it works fine again.
I stream the attachment to the API service in the exact same way I do for another Cognitive Services API, namely Computer Vision. And that works great with streamed attachments.
The code is on GitHub: https://github.com/sebsylvester/botbuilder-mcs
I know the APIs are still in preview, but this is still a weird issue.