Quectel RMU-500 not being assigned an IP

Quectel wont get assigned an IP address after configuration randomly, the commands used in the setup are:


Sometimes it will get the right IP, sometimes it will keep the previous one even if it was from another APN and sometimes it wont get any IP, returning “”.
Any ideas on what can be causing this behavior and how to solve it?

Dear @TiagoCF
Which module did you use?Please share your current firmware.

Revision: RM500QGLABR11A06M4G

As context, I have two networks, one SA and one NSA, both in the same band. When trying to connect to one of them, I often end connected to the other, swapping sim cards does not change this behavior.
In this mean time I have already tried the commands (AT+QNWPREFCFG=“nr5g_disable_mode”,2) To disable the NSA or SA connection and (at+QNWPREFCFG=“nsa_nr5g_band”,3) To set it to a band where the NSA signal isnt to stop it from connecting. Both commands are ignored before and after a powercycle.