This is a migrated thread and some comments may be shown as answers.

"Item not found"

3 Answers 55 Views
Bugs & Issues
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 02 Dec 2013, 04:42 PM
What does this error indicate? I was getting "the account quota is limited for this operation", I think due to the http schema switch, but with:

    //Initialize the Everlive SDK
    var el = new Everlive({
        apiKey: everliveApiKey,
        scheme:'http'
    }); 

I get the item error.






3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 02 Dec 2013, 10:37 PM
Fixed:

                function(err) {
                    if (err.code==801) { 
                        app.registerInEverlive(); // register
                    } else {
                        alert('Everlive Error: '+JSON.stringify(err));
                    }
                }
0
Lyubomir Dokov
Telerik team
answered on 03 Dec 2013, 05:33 PM
Hello Michael,

The "Item not found" message is normally returned along with a 404 HTTP response. It means that you requested an item but it was not found on the server. There are various cases where this might happen, for example:
- when requesting an item by ID and no item with this ID exists in the database
- when requesting a device registration by the HardwareID of the device and no such device is found in the database

 There are other cases as well. I am not sure what it meant in your case, as I cannot understand exactly what you were trying to do from the description you gave.

Regards,
Lyubomir Dokov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Michael
Top achievements
Rank 1
answered on 04 Dec 2013, 05:05 PM
It was a device registration check. That never returned an error code until recently. I had to add an exception to catch it.
Tags
Bugs & Issues
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Lyubomir Dokov
Telerik team
Share this question
or