[DONE] Critical Bug in Automation: http.post() Automatically Replaced with http.post_id()

Hi there,

I’ve run into one of the strangest bugs imaginable, and it’s blocking our work.
We first noticed it yesterday, and were able to reproduce it using a different user/browser (@timbe).

Suddenly, working code started throwing this error:
Error: TypeError: http.post_id is not a function

After checking the script, I found that six instances of http.post() had somehow been changed to http.post_id().

I corrected all of them, saved the script, and ran it manually – but the exact same error appeared again.
I repeated this process nearly 20 times, and @timbe tried as well. Every time, the same issue persists.

Could you please help us understand what’s going on here, or what we might be missing?
This is urgent – we can’t work like this.

Thanks a lot,
Rico

1 Like

Hi @Kollaborateur,

Thanks a lot for the detailed report, really appreciate it!

We’ve already started analyzing the issue to understand what’s causing the behavior you described, and I’ll reach out to you as soon as possible with a fix or if we need any additional details.

Sorry for the issue and thanks again for flagging it.

Best regards,
Leo

1 Like

Hey Rico,

I knew I had seen this before a while back. By any chance, is the app you are using titled “Post”?

For some reason, if the app is titled “Post,” it will automatically change http.post to http.post_id in the script automation.

See here:

2 Likes

Unbelievable @Luis that is exactly what it was.
@Leo would be good to fix the root cause, but renaming the App helped for the moment.

Thanks to Luis the wizard :mage:

2 Likes

Hi @Luis and @Kollaborateur,

A huge thank you, Luis, for jumping in and helping us out, that was incredibly helpful!
It does seem to be a conflict with the auto-rename logic when variable names overlap, and your insight really pointed us in the right direction.

We’ll make sure to fix it properly so this kind of issue doesn’t happen again.

Thanks again for the great support, really appreciate it!

Best,
Leo

2 Likes