Skip to content

ShopifyAPI::RecurringApplicationCharge.all yielding ShopifyAPI::Errors::HttpResponseError #1368

@danielfriis

Description

@danielfriis

Issue summary

Before opening this issue, I have:

  • Upgraded to the latest version of the package
    • shopify_api version: 14.8.0
    • Ruby version: 3.2.2
    • Operating system: OSX
  • Set log_level: :debug in my configuration, if applicable
  • Found a reliable way to reproduce the problem that indicates it's a problem with the package
  • Looked for similar issues in this repository
  • Checked that this isn't an issue with a Shopify API

Looking at the documentation, I'm supposed to be able to fetch recurring application charges like this:

shop.with_shopify_session do
    ShopifyAPI::RecurringApplicationCharge.all
end

I need that in order to check if there's an active subscription to my app (I'm using managed subscriptions).

It doesn't work however, and yields {"error_reference":"If you report this error, please include this id: 855b5824-d1ab-4ec8-94e2-8b481a0665f5-1742828445."} (ShopifyAPI::Errors::HttpResponseError)

Expected behavior

Should return active recurring charges (subscriptions).

Actual behavior

Yields error.

Steps to reproduce the problem

shop.with_shopify_session do
    ShopifyAPI::RecurringApplicationCharge.all
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions