For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
Every time I request the `carrierService.id` (or any field on the carreirService) the API returns an INTERNAL_SERVER_ERROR.
Here's a couple example request ids that failed:
080144a5-9592-4aff-ab9b-e12ce278c661
57818527-2ae3-45f1-906a-80b0b94484d5
It's been pretty simple to replicate for me.
This causes the error:
query getSubscriptionContract($id: ID!) { subscriptionContract(id: $id) { deliveryMethod { __typename ... on SubscriptionDeliveryMethodShipping { shippingOption { carrierService { name id } code description title presentmentTitle } } } } }
but if i just remove the carrier service it returns the expected response
Solved! Go to the solution
This is an accepted solution.
Hi @Brian_S! Thanks for sharing this error. I believe carrierService here is actually a deprecated field and should be marked as so. However, the returning 500 does look like a bug, so I'm currently working on a fix for this and will also update the field description to mention the deprecation.
Cheers!
Noah
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi @Brian_S! Thanks for sharing this error. I believe carrierService here is actually a deprecated field and should be marked as so. However, the returning 500 does look like a bug, so I'm currently working on a fix for this and will also update the field description to mention the deprecation.
Cheers!
Noah
To learn more visit the Shopify Help Center or the Community Blog.