mia
mia2mo ago

400 invalid value storybook

hi, i'm trying to build a storybook with a template, but got the 400 Invalid value for 'content': expected a string, got null. this happens during test at json generator step. also the template is a bit different from the one shown in youtube video, i guess the template is the more recent version, right?
No description
Solution:
Hi @mia, I've went ahead an updated the template to use the latest version of the JSON Generator node. The only piece of information that you need to send is the prompt. Here's how you can do that.
Jump to solution
3 Replies
AI Support
AI Support2mo ago
It sounds like you're encountering an issue with the JSON generator step in your workflow. The error message "400 Invalid value for 'content': expected a string, got null" indicates that the JSON generator is receiving a null value where it expects a string. To resolve this issue, you should verify the following: 1. Check the Input Values: Ensure that all the input values being passed to the JSON generator step are properly defined and not null. 2. Template Verification: Since you mentioned that the template is a bit different from the one shown in the YouTube video, it is possible that the template has been updated. Make sure you are following the latest template documentation. For detailed guidance on the JSON generator step and templates, you can refer to the BuildShip documentation. If you need further assistance, please submit your query via the in-app support button. For more information, you can check the BuildShip documentation on JSON Generator. If the issue persists, please submit your query via the in-app support button.
mia
mia2mo ago
so i'm trying to make sure that everything needed is passed to json generator step. what should i type in user prompt? it is (x) Request Body.prompt at the moment
Solution
Luis
Luis5w ago
Hi @mia, I've went ahead an updated the template to use the latest version of the JSON Generator node. The only piece of information that you need to send is the prompt. Here's how you can do that.