I am using the node example below and changing just the product Id from this page https://shopify.dev/docs/api/admin-graphql/2023-01/queries/product#examples-Retrieve_media_objects to retrieve all media files related to the product it returns the files but I also get the message below:
[shopify-api/WARNING] API Deprecation Notice 3/31/2023, 12:54:30 AM : {“message”:“https://shopify.dev/api/usage/versioning#deprecation-practices”,“path”:“https://***.myshopify.com/admin/api/2023-01/graphql.json”,“body”:“query {\n product(id: "gid://shopify/Product/8211396428097") {\n title\n media…”} - Stack Trace: Error
at NewHttpClient. (/data/node_modules/@shopify/shopify-api/lib/clients/http_client/http_client.js:237:35)
at Generator.next ()
at fulfilled (/data/node_modules/tslib/tslib.js:115:62)
All my other graphQL calls work without this message and I don’t know how to prevent this message or see anything relevant on https://shopify.dev/api/usage/versioning#deprecation-practices
Does anyone have an idea of how I can resolve this?