About AppUsageRecordCreate API

ptt-kmatsubara
Shopify Partner
66 0 4

There are stores that take about 40 seconds to respond to appUsageRecordCreate, and the number of past payments seems to increase the response time. Do you have any plans to improve this?

We provide an app that collects fees for orders, but we are concerned that the time it takes to return a response is increasing and that this will become a roadblock in the future.

 

Also, why do I often get 500 errors?

Replies 3 (3)

ptt-kmatsubara
Shopify Partner
66 0 4

The number of cases where 500 errors are returned for requests is increasing day by day.

Here is the target store ID.

 

gid://shopify/Shop/8171323474

ptt-kmatsubara
Shopify Partner
66 0 4

Anyone know?

There is no answer to the question from the partner, and there is no solution on the app side.

ShopifyDevSup
Shopify Staff
1321 216 456

Hey @ptt-kmatsubara, thanks for getting in touch, my understanding is that this isn't documented behaviour on our end for the appUsageRecordCreate mutation, specifically if the same parameters in the call have worked before/work after you encounter a 500 error. 

 

Could you provide an X-Request-ID from a response header for one of the 500 error responses you receive from Shopify? Happy to look into this further with you and share more information if possible. Hope to hear from you soon. 

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