productAppendImages creates invalid JSON response

I’ll post some of the responses I get to illustrate. Here is the response to my bulk query operation


When I poll the currentBulkOperation immediately after, I get this response:

```markup

Here is the query I am using on currentBulkOperation

```ruby
def bulk_query_running?(shopify_store_id)
    shopify_store_connect(shopify_store_id)
    client = ShopifyAPI::GraphQL.client
    bulk_poll_query = client.parse <<-'GRAPHQL'
    query {
      currentBulkOperation {
        id
        status
        errorCode
        createdAt
        completedAt
        objectCount
        fileSize
        url
        partialDataUrl
      }
    }
    GRAPHQL

    result = client.query(bulk_poll_query)
    return result
  end

I will try to use the webhook interface in the meantime and post my results here.

1 Like