Matt
Matt6d ago

Cannot read properties of undefined (reading 'body')

I'm getting this error when I try to call one buildship workflow from another. The target workflow does not accept any input (it's just a workflow designed to grab a new auth token if it's expired, or use the stored one if it's not. New to buildship and trying to create a workflow I can use in several other workflows without having to implement this logic every time.
2 Replies
AI Support
AI Support6d ago
AI Support Bot Information
<@1323091339658657840> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support6d ago
AI Response
It seems that you are trying to call one Buildship workflow from another, which is a common task when you want to reuse functionality like obtaining an authentication token. However, if you're encountering errors, it might be due to the structure or configuration of your workflows. Here are a few points to consider: 1. Ensure Proper Trigger Setup: The target workflow must have a trigger node that can be activated externally. It might not require input, but it should have some form of entry point defined, like an HTTP request trigger. 2. Check Node and Workflow Configuration: Ensure that all the nodes are configured correctly and are linked according to the logical flow you envision. Each node should correctly handle its inputs and outputs even if there are no external inputs. 3. Consider Output Handling: Even if the workflow doesn't require input, it might be useful to ensure that the workflow is set up to handle any expected outputs. Look into how you are managing variables or temporary data storage within workflows. 4. Debugging and Error Logging: Use Buildship's debugging tools to log errors or outputs at various stages. This might help pinpoint where the process is failing. 5. Join Community Support: If you're still having issues, consider joining the Buildship community for more interactive support or checking if there are any known bugs or updates required here. If you need a more personalized troubleshooting process, you can also send a support request directly from your Buildship dashboard using the "Support" button【4:4†buildship-docs.json】.
BuildShip AI Support

Did you find this page helpful?