Hello
I’m calling an api that returns 204 as success but this cause my script to throw an error
Here’s a code that regenerate the issue, i don’t think 2xx results should be implemented as error.
I was wondering if there is any way to fix it or to know what is the returned status code
:tool/fetch url="https://connectivitycheck.gstatic.com/generate_204"
Running on ROS 7.13
You should make a support request for this. This forum is a user-to-user channel, not user-to-MikroTik.
Already know, the bug is introduced in v7.13 and on 7.14beta3 (2023-Dec-19 13:31) is already resolved.
*) fetch - treat any 2xx HTTP return code as success (introduced in v7.13)
RouterOS version 7.14beta has been released on the “v7 testing” channel!
Before an upgrade:
Remember to make backup/export files before an upgrade and save them on another storage device;
Make sure the device will not lose power during upgrade process;
Device has enough free storage space for all RouterOS packages to be downloaded.
What’s new in 7.14beta10 (2024-Feb-06 15:47):
!) rose-storage - moved SMB service in the RouterOS bundle;
!) smb - removed legacy SMB service (replaced with new…
Is also solved (but the enty is missing on the changelog) on 7.13.2 (2024-Jan-12 11:51)
Is not needed to do anything, except install 7.13.2.