Hi i work on a project in this project i have to access a JSON DB with the same Searchparameters, the first 2 searches work fine, but the 3. one fails - the values are the same all times Thats the script i use : string auswertung(string mmsg) { integer i=0; string temp="?"; string aktMp=""; do { aktMp=aktM+(string)i; temp=llJsonGetValue(db,[aktMp,"name"]); if(temp==JSON_INVALID) // only for debug llWhisper(0,"JSON_INVALID"); // only for debug if(temp!=JSON_INVALID) { if(temp==mmsg) return llJsonGetValue(db,[aktMp,"antwort"]); } ++i; } while(i<=12); // Max Entry in DB per use return NOTF; } thats the values i use to start the script: mmsg = "Pause +" aktM="H1" NOTF="DSNF" db={"H112":{"name":"ENDE","antwort":"ende"},"H110":{"name":"SAVE","antwort":"Okay"},"H11":{"name":"Pause +","antwort":"P+"},"H13":{"name":"Pause -","antwort":"P-"},"H14":{"name":"Rahmen -","antwort":"1010"},"H15":{"name":"Reset","antwort":"1012"},"H16":{"name":"Rahmen +","antwort":"1011"},"H17":{"name":"Farbe","antwort":"1019"},"":{"name":"P+","antwort":""},"":{"name":"P+","antwort":""}} i checked all values doubble but cant see the problem, everytime i call this script - if works 2 times fine then it returns only JSON_INVALID until i reset it - then it works fine agin 2 times and the problem is back please tell me whats wrong with this code?