Problem with image conversion service

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
rhammell
 
Posts: 6
Joined: Wed Jun 27, 2012 6:41 am

Problem with image conversion service

Post by rhammell »

I'm working with the Adafruit AO image conversion service with my Pyportal. I'm trying to convert the following image URL (Uses public api key):

Code: Select all

https://maps.geoapify.com/v1/staticmap?style=osm-bright-smooth&width=800&height=600&center=lonlat:-74.004158,40.722619&zoom=12.1401&apiKey=d548c5ed24604be6a9dd0d989631f783
I build the following image converter API URL:

Code: Select all

https://io.adafruit.com/api/v2/{MY_USERNAME}/integrations/image-formatter?x-aio-key={MY_AOI_KEY}&width=320&height=225&output=BMP16&url=https://maps.geoapify.com/v1/staticmap?style=osm-bright-smooth&width=800&height=600&center=lonlat:-74.004158,40.722619&zoom=12.1401&apiKey=d548c5ed24604be6a9dd0d989631f783
However, the response from this URL is:

Code: Select all

{"error":"request failed - failed to load and process image"}
Is there a reason why this image is failing?

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”