For those using cell phones to access moodle (Browser and specially App).  

Please make sure to regularly LOG OUT and re-LOG IN. 

The phone has a tendency to retain the last log in data and the exam restriction codes are part of that data. So even if your takeexamcode has already been updated to a higher value due to new payments made, your phone still remembers the old value.  Hence, the restriction