The error occurs because you might not have 'Global access' to the tickets. Check the same from Admin > Team> Agents > Edit your profile. Another admin will be able to make this change for you.