Hey,
When returning an EntityResponse type or an EntityResponseCollection type, you need to format your data so that it matches the expected structure.
You can get and use the following util to do so:
const { toEntityResponse } = strapi.plugin('graphql').service('format').returnTypes;
And then transform your data using
return toEntityResponse(data, { args, resourceUID: 'api::customer-profile.customer-profile' });
Let me know if it helped you fix your issue.
Best,