Hi,
you have possibly hit this bug: https://prsearch.juniper.net/InfoCenter/index?page=prcontent&id=PR1135780
I had the same on a SRX240 with 12.1X46-D40 and JTAC asked me to upgrade to D45 or above. This made dynamic VPN working again.
Please try this a revert with the result.