Orry,

Try removing the trailing question mark from "/categories/list".

- John

On Jul 1, 2011, at 7:31 AM, Orry wrote:

> Hi,
> 
> I am having some grief retrieving the list of categories.
> 
> I receive an authentication validation "A valid application key is required" 
> when i make a call to /categories/list?app_key=[my valid app key] using 
> the JavaScript API.
> 
> I get the same results when i try explicitly supplying the app_key 
> or by passing it in the arguments.
> 
> Snip:
> 
> EVDB.API.call("/categories/list?", { app_key: "[my definitely valid app key]" 
> }, 
> function (results) {
>                if (results.string !== "Authentication Error") {
>                    // do something interesting 
>                } else {
>                    alert(results.description);
>                }
>            });
>        }
> 
> 
> Any help would be much appreciated
> 


Reply via email to