How can I resolve the "The service or function doesn't belong to you" error?

Updated at:

Make sure the account ID in the endpoint is your Alibaba Cloud root account ID (the primary account), not the ID of a RAM user.