Getting "Service unavailabe" for the rest api request
I am able to test the rest api trigger successfully in postman but as soon as I ship the flow and try again. it is giving me "503 service unavailable" error. and it is not appearing in the logs as well.
2 Replies
Processing...
🤖 Deciphering the code matrix. 🧬 this might take a couple of minutes... beep boop
🤖 AI Response
A 503 Service Unavailable error after shipping a BuildShip workflow is commonly caused by deployment or routing issues, especially if the workflow is not appearing in logs, indicating requests are not reaching execution. Key troubleshooting steps include:
- Custom Domain Activation: If using a custom domain, ensure DNS settings are correct and allow up to 25 minutes for activation, as delays can cause temporary unavailability.
- Deployment Delays: Wait several minutes after shipping before testing, as deployments may not be instantly available.
- Service Account Permissions: For workflows connecting to external services (e.g., Firebase, GCP Storage), verify that the runtime service account has the necessary permissions.
- Re-ship Workflow: Redeploying the workflow can resolve initialization issues that sometimes occur during the first deployment.
- Project Region Issues: If shipping fails for new projects, avoid regions like Iowa and Singapore; deleting and recreating the project in a different region (e.g., Oregon) has resolved similar issues.
- Node Configuration and Credentials: Double-check node configurations, API keys, and credentials for correctness.
- Workflow Path and Trigger: Ensure the workflow trigger method and path are correctly set (e.g., GET and /hello), as misconfiguration can prevent routing.
- Browser Cache and Logging Panel: Clear browser cache, use incognito mode, and ensure the logging panel is closed before making new requests.
- Duplicating Workflows: If a workflow is not updating or only works in "test," duplicating the workflow and redeploying may resolve the issue.
If these steps do not resolve the error, contact BuildShip support via the in-app support option for direct assistance, as some deployment issues may require intervention from the BuildShip team.
🔗 References:
1. https://support.buildship.com/m/1205788198647631922
2. https://support.buildship.com/m/1377590607542747216
3. https://support.buildship.com/m/1346156561915183124
4. https://support.buildship.com/m/1310144268039491605
5. https://support.buildship.com/m/1265242800371400704
6. https://support.buildship.com/c/1148985716651597944?page=4
7. https://support.buildship.com/m/1308742645367050331
8. https://support.buildship.com/m/1219925053093974038
9. https://support.buildship.com/m/1179676831302029412
10. https://www.youtube.com/watch?v=w8gmG8lFdU0
BuildShip AI Support