bagisto / opensource-ecommerce-mobile-app

This open-source mobile ecommerce app seamlessly transforms your Bagisto store into a powerful mobile platform, providing real-time synchronization of products and categories.
https://bagisto.com/en/laravel-ecommerce-mobile-app-flutter/
MIT License
5.5k stars 123 forks source link

Why am I receiving an Internal server error for the themeCustomization query path in my GraphQL operation? #21

Closed mebron closed 1 month ago

mebron commented 1 month ago

[log] EXCEPTION -> OperationException(linkException: null, graphqlErrors: [GraphQLError(message: Internal server error, locations: [ErrorLocation(line: 3, column: 3)], path: [themeCustomization], extensions: null)])

vivek-webkul commented 1 month ago

Hi @mebron,

Thank you for using Bagisto!

Could you please provide the complete query schema for theme customization, or share a short video demonstrating the issue? This will help us better understand your concerns.

Additionally, please let us know the versions of Bagisto and Headless you’re using.

Thanks!

mebron commented 1 month ago

Hi,

Thanks for reaching out!

I’m currently using Bagisto V 2.2.3, along with opensource-ecommerce-mobile-app v 2.2.2 and headless-ecommerce v 2.2.2. I’ve also customized the theme by cloning the default shop theme. However, an error occurs when I run 'flutter run'.

Thanks again for your assistance!

mayank-webkul commented 1 month ago

Hello @mebron

The Open Source E-commerce Mobile App v2.2.2 and Headless E-commerce v2.2.2 are not available for Bagisto v2.2.3. This may be the reason you're encountering this issue.

mebron commented 1 month ago

Hi,

I’ve downgraded Bagisto to V 2.2.2, but the same error persists. Please see the Laravel log for details on the error:

mayank-webkul commented 1 month ago

@mebron Could you please provide the complete query schema for theme customization?

mebron commented 1 month ago

Hi,

I didn't change any query schema for the theme customization; I only renamed the default shop theme as per the documentation.

Thank you!

mayank-webkul commented 1 month ago

@mebron Ok, but please provide the query schema for this so that we can check.

mebron commented 1 month ago

Hi,

I’m new to Bagisto, so I’m not entirely sure how to retrieve the complete query schema details. Could you guide me on how to access or generate this schema information so I can share it with you?

Thanks for your patience!

mayank-webkul commented 1 month ago

Hi @mebron,

The issue has been resolved, and the PR has been merged into the main branch. You can now access the updated code.

PR Link: Headless Ecommerce PR #351