Hi @Eric Shen
It is common that we could view 5000 items without an error. When the list view threshold limit is exceeded, you’ll find a warning message in list settings under “List View Threshold: The Number of items in this list exceeds the list view threshold, which is 5000 items.
Also, when you try to filter or sort column values, you’ll see “Cannot show the value of the filter. The field may not be filterable, or the number of items returned exceeds the list view threshold enforced by the administrator” message. So if we do not do the operation, there would not be an error.
For more details, you could refer to:
https://www.sharepointdiary.com/2017/02/list-view-threshold-in-sharepoint-online-faq.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.