Deploy to fly.io fails on graphql - (NewHttpClient)

Deploy to fly.io fails on graphql - (NewHttpClient)

fredptpt
Shopify Partner
2 0 0

Hi,

I m usign shopify app with remix.
When a deploy to fly.io and try to create new product:

`#graphql
    mutation productCreate($input: ProductInput!, $media: [CreateMediaInput!]) {
      productCreate(input: $input, media: $media) {
.....

in logs on fly.io receive this error:

[shopify-api/WARNING] API Deprecation Notice 10/15/2023, 2:43:51 PM : {"message":"https://shopify.dev/api/usage/versioning#deprecation-practices","path":"********.myshopify.com/admin/api/2023-07/graphql.json","body":"{\"query\":\"#graphql\\n mutation productCreate($input: ProductInput!, $media: [CreateMediaInput!]) {..."} - Stack Trace: Error:

2023-10-15T14:43:51.170 app[1857439c7945e8] mad [info] at NewHttpClient.<anonymous> (/app/node_modules/@shopify/shopify-api/lib/clients/http_client/http_client.ts:325:23)

2023-10-15T14:43:51.170 app[1857439c7945e8] mad [info] at Generator.next (<anonymous>)

2023-10-15T14:43:51.170 app[1857439c7945e8] mad [info] at fulfilled (/app/node_modules/tslib/tslib.js:166:62)



any tip ?

Regards
Frederico




Reply 1 (1)

fredptpt
Shopify Partner
2 0 0

solved! pay attention on useErrors give me the information that i needed.