Error "No such type Payment, so it can't be a fragment condition"

kshopmx
Shopify Partner
5 0 5

Hi, guys!

The current available versions of Storefront API that corresponds to 2022 that return me the following error "No such type Payment, so it can't be a fragment condition".

But the 2023 versions work correctly.
This error started today 11-01-23 and we haven't  moved any code.

Screen Shot 2023-01-11 at 18.27.23.pngScreen Shot 2023-01-11 at 18.27.08.png

Replies 6 (6)
alanraso
Excursionist
12 0 3

Hello, I'm having the same issue.

Unfortunately the mobile app I developed stopped working because of it. The 2022 URLs weren't supposed to have the schema changed, I thought this would be obvious =/

alanraso
Excursionist
12 0 3

Just a follow-up, today 02-24-2023 we noticed that the 2023-01 api started to return this error as well. 2023-04 is working, but it's a release candidate at this point, and i fell like it's going to stop working after some time, because the same thing happened with the previous versions.


kshopmx
Shopify Partner
5 0 5

 I see that version 2023-04 stated having the same issue.
2023-07 does not work either.

kshopmx
Shopify Partner
5 0 5

@ShopifyDevSup Can you help us with this issue please? we're having PROD environment errors

jgphilippe
Visitor
2 0 2

Any updates on this? We are experiencing the same issue. We are experiencing the same problem, either when calling GraphQL directly or when using the iOS sample app. -> https://github.com/Shopify/mobile-buy-sdk-ios-sample

jgphilippe
Visitor
2 0 2

Was able to make it work by providing the checkout in return fields :

 

Screenshot 2023-06-09 at 08.14.51.png

 

Screenshot 2023-06-09 at 08.14.12.png