• 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.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

API Error

Status
Not open for further replies.

anotherp

Chevereto Member
I have been working on a Chrome extension. Everything was going fine and then suddenly none of the uploads were working.

If I goto http://picgur.org/api/1 I get this error

{"status_code":400,"error":{"message":"Invalid API v1 key.","code":100,"context":"Exception"},"status_txt":"Bad Request"}

Any idea?
 
PHP:
        // Change CHV\getSetting('api_v1_key') to 'something' if you want to use 'something' as key
        if(!G\timing_safe_compare(CHV\getSetting('api_v1_key'), $_REQUEST['key'])) {
            throw new Exception("Invalid API v1 key.", 100);
        }
 
Status
Not open for further replies.
Back
Top