Customers not allowed to view orders

Good afternoon, everyone!
We are receiving reports from some customers saying they don’t have permission to view their own order history. However, other information such as address and personal details are displayed normally. In the requests, the endpoint https://www.loja.com.br/api/oms/user/orders/pedido returns HTTP 403 (Forbidden). Additionally, I noticed that the order can be found in the CMS but was cancelled over 6 months ago. I therefore assume that when accessing the orders page, customers who have cancelled orders — possibly older ones — are experiencing this issue. There is no customization in the store that would cause this.

Thanks in advance for the help!