GET API Call with empty body now returns null
Hey, all the time until today I used GET API Call to Stripe with empty body. It was working fine.
Today however, it started to reject empty body for me (1st screen)
I tried to provide empty body: {}, but then API call returns null value (2nd screen).
Is something changed recently for API calls node?
Solution:Jump to solution
So apparently I need to add empty object to json body:
{}
Strange, because it didn't work for me at first. But it works now...
4 Replies
AI Support Bot Information
<@690624200549072908> 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 Response
It appears there have been no documented changes for the API Call node that would affect how it handles empty bodies in requests. If you're encountering issues where the Stripe API now rejects calls with an empty body, this might be due to updates or changes on Stripe's end rather than the BuildShip platform.
For more precise troubleshooting and confirmation, you should consider sending a support request via the BuildShip platform. Meanwhile, check that you are using the correct API configuration and that there haven't been any recent updates or changes on the Stripe API side that could cause this behavior.
You can also visit the official BuildShip documentation or join their active community for more insights:
- BuildShip Community
- BuildShip Documentation
BuildShip AI Support
Stripe API was tested externally and it works fine. So I'm sure no changes were made on Stripe API side
Solution
So apparently I need to add empty object to json body:
{}
Strange, because it didn't work for me at first. But it works now