The value for the nsCatalogItemId parameter should contain your Sandbox ID and Catalog Item ID. If you’re encountering this error with the SDK, please set the CatalogNamespace in the EOS_Ecom_QueryOwnershipOptions. https://dev.epicgames.com/docs/api-ref/structs/eos-ecom-query-ownership-options
https://dev.epicgames.com/community/learning/knowledge-base/qzWqV/epic-online-services-what-can-cause-the-error-errors-com-epicgames-ecommerce-integration-client_restricted