Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify CarrierService Times-out Immediately

Shopify CarrierService Times-out Immediately

Ridge1388
Shopify Partner
6 0 0

I just upgraded our server to the 2023-01 API version and am encountering a strange issue with the carrier service. When choosing a new address, Shopify seems to fail and say "The address does not have any shipping options available", this happens immediately; it doesn't even show the spinner as if it's waiting for information.

 

I have monitored the logs on my app/server; I have even removed all of the other code and just tried to return the carrier options, but every single time it fails. However -- after refreshing the shipping page, all of the correct shipping options are suddenly returned correctly.

 

I'm wondering if anyone knows how to get the error responses from Shopify's side, or has any recommendations on debugging this. I have confirmed that the request takes less than 3 seconds to return (approx 2.2s for the app, but I have removed all the delay and had it return in less than 1s with a similar error).

 

Below is the example rate I return (running in node):

{
	rates: [{
		service_name: 	'Free Shipping (Wholesale)',
		service_code: 	'free-shipping',
		description: 	'2 - 8 Business Days',
		total_price: 	0,
		currency: 	'USD'
	}]
}

 

 

Here is an example of this happening: https://www.loom.com/share/a56a372472e545a795946aafec7b43a1

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 239 532

Hi @Ridge1388,

 

Thanks for your post. To get help with situation like that the best option is to take note of a specific date/time/timezone when it happened within the past 7 days on a store that you have staff or collaborator access to and reach out to Partner Support directly through the Support link in the Partner dashboard with the details and the video.

 

Thanks and hope you have a great day,

Jon551

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog