magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.06k stars 682 forks source link

[bug]: Data Fetch Error after going to <product>.html #2784

Closed fkrawczyk-epoint closed 3 years ago

fkrawczyk-epoint commented 3 years ago

I have installed Magento 2.4 and Magento PWA Studio. Connected them in .env file _MAGENTO_BACKENDURL=https://magento-b2c.localhost/

Everything works as it should but cannot access product page.

image image

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 3 years ago

Hi @fkrawczyk. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


Jordaneisenburger commented 3 years ago

You wanna check the chrome console and check the network tab as well. There might be an internal server error coming back from graphQL due to mismatch in schema's.

fkrawczyk-epoint commented 3 years ago

You wanna check the chrome console and check the network tab as well. There might be an internal server error coming back from graphQL due to mismatch in schema's.

Hi, thanks for feedback image

Config element \"ImageSwatchData\" is not declared in GraphQL schema

seeing this error doesn't really help me, still no idea how to fix :(

Jordaneisenburger commented 3 years ago

What version of PWA Studio are you on and what version of Magento are you using? There seems to be a mismatch between Magento and PWA studio versions.

fkrawczyk-epoint commented 3 years ago

Magento 2.3.4 PWA Studio 8.0

Just found Magento compatibility Thanks, gonna update Magento to 2.4 and check if it's working then!

Jordaneisenburger commented 3 years ago

Let me know when it's resolved.

fkrawczyk-epoint commented 3 years ago

It's working now, thank you!