• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

4.3.4. API upload not working

bjoern.busch

Chevereto Member
I successfully upgraded from 4.2.5 to 4.3.4 and the regular chevereto operation seams to work fine. I'm seeing an issue when trying to upload images via the API:

When I execute
Code:
curl --fail-with-body -X POST \
  -H "X-API-Key: chv_SuperSecretKey" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -F "source=https://upload.wikimedia.org/wikipedia/commons/4/41/Sunflower_from_Silesia2.jpg" \
  https://mygallery.com/api/1/upload

The call returns:

Code:
curl: (22) The requested URL returned error: 400
{"status_code":400,"error":{"message":"Empty upload source","code":130},"status_txt":"Bad Request"}%

Did something change in the API handling?
 
Back
Top