422 errors from image-formatter image converter

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
kevinjwalters
 
Posts: 1025
Joined: Sun Oct 01, 2017 3:15 pm

422 errors from image-formatter image converter

Post by kevinjwalters »

I was experimenting with the image-formatter and it's giving 422 errors. These don't appear in the documentation on https://io.adafruit.com/api/docs/#errors - what do they mean for this service?

I see a few posts previous posts where 422 errors appear to have been dealt with by some sort of fix of the service? E.g. IO Error code 422 - failed to load and process image and Pyportal Nasa Photo of the day.

For https://io.adafruit.com/api/v2/kevinjwa ... tsm600.jpg I'm currently getting this response body (in browser and wget):

Code: Select all

{"error":"request failed - failed to load and process image"}

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: 422 errors from image-formatter image converter

Post by jwcooper »

We've deployed another fix to the image service.

Should be good to go now.

Thanks for reporting the issue to us!

User avatar
kevinjwalters
 
Posts: 1025
Joined: Sun Oct 01, 2017 3:15 pm

Re: 422 errors from image-formatter image converter

Post by kevinjwalters »

Thanks.

BTW, are there any plans to support producing JPEGs in the future?

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: 422 errors from image-formatter image converter

Post by jwcooper »

Maybe? It's certainly something I'd personally like to do.

I think if we expanded it, it would have to become a pro feature, mostly due to server costs to process the images. Maybe we could limit to a few images a day for a free account.

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”