www/apps/bloom/app/prompting/fix-errors-and-issues/page.mdx
export const metadata = {
title: Fix Errors and Issues,
}
This guide covers how to solve issues and handle unexpected results in your Bloom store.
When you ask Bloom to build features, sometimes it doesn't work as expected. You may either:
Bloom is designed to assist you in your store-building experience, including fixing errors and improving results. This guide provides best practices for fixing issues with Bloom.
Bloom may make mistakes while building new features or making design changes. You can ask Bloom to fix these errors either when it detects them or when you notice something is wrong.
When an error happens in your store, Bloom often detects it and shows a pop-up to fix the error.
When that happens, click the "Fix error" button in the pop-up. This sends a prompt to Bloom with the error's details. Bloom will analyze and fix the error.
<Note>"Fix error" prompts consume credits similar to regular prompts.
</Note>Sometimes you may run into errors while using your store and admin dashboard that Bloom doesn't automatically detect. For example, you open a custom admin page and you see an error.
When this happens, ask Bloom to fix the error. Describe:
For example:
When I go to the Product Reviews page in the admin dashboard, I see an error message that says "Failed to load reviews".
I was trying to view customer reviews for my products. I expected to see a list of reviews, but instead I see this
error message. Here's a screenshot of the error.
This prompt gives Bloom the context and details it needs to investigate and fix the error. Bloom will analyze the issue, identify the root cause, and apply a fix to resolve the error in your store.
Sometimes Bloom's results don't match what you wanted. For example, you ask for a product slider, but the design looks different from what you imagined.
To avoid this, give Bloom clear and specific prompts. The more specific you are, the better Bloom understands your vision and delivers results that match your expectations.
<Note title="Tip">For better design results, see the Store Design Prompting guide for tips on how to prompt for design changes and fixes effectively.
</Note>However, when results don't match your expectations, ask Bloom to fix them. To help Bloom understand what's wrong:
For example, to fix the product slider issue, attach a screenshot of the slider and say:
As you can see in this screenshot, the product slider is showing 3 products at a time
but I wanted it to show 4 products. Please update the slider to show 4 products at a time.
Our team is constantly working to improve Bloom's performance and accuracy so that it delivers better results for you. If Bloom isn't meeting your expectations, consider submitting feedback with the issue you faced.
You can submit feedback for any Bloom response by clicking the thumbs down icon below the response. Provide details about what you expected and what you got. The more details you provide, the better our team can understand the issue and work on improving Bloom.
See the Give Feedback guide for more details on how to submit effective feedback.
Bloom's project interface includes a Code Editor that lets you inspect and edit your store's code.
If you have programming knowledge, you can use the Code Editor to find implementation issues quickly. This is useful if you:
See the Code Editor guide for tips on how to use the Code Editor of your project.