Skip to content

version 5.8.0 causing breaking changesΒ #384

@daiumahsanbutt

Description

@daiumahsanbutt

Issue summary

The new version 5.8.0 has caused issues with the SDK functioning properly. Specifically content type errors, bad request errors and Unsupported media type errors.

Expected behavior

Version 5.7.0 seems to be working properly, this was a breaking issue caused in 5.8.0

Actual behavior

The update starts causing errors in certain graphql calls as listed below:

Steps to reproduce the problem

  1. Certain times storefront calls to fetch collections/products causes 503 errors
  2. Graphql Admin calls for files always returns bad request
  3. Storefront calls to store pages causes unsupported media type errors

Sample Queries to Reproduce errors in 5.8.0

  1. Fetch Store Pages with Storefront API

{
pages(query: "title:$query*", first: 50) {
edges {
node {
title
id
}
}
}
}

  1. Fetch store media/files with Admin API

{
files(
sortKey: CREATED_AT
reverse: true
first: 50
) {
edges {
node {
... on MediaImage {
image {
url
}
}
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}

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