PDN Context Configuration Error with APN with nRF9161

I am getting an error when trying to get a nRF9161 application to connect to a private APN using some PDN configurations.

The error is:

<err> pdn: Failed to configure CID 0, err, 65536
<err> pdn: Failed to configure default CID, err -8

 I have not been able to find anything indicating what exactly causes the 65536 error from nrf_modem_at_printf.

Here is how my project is configured for the PDN options:

CONFIG_PDN=y
CONFIG_PDN_ESM_STRERROR=y
CONFIG_PDN_DEFAULTS_OVERRIDE=y
CONFIG_PDN_INIT_PRIORITY=89
CONFIG_PDN_DEFAULT_FAM_IPV4V6=y
CONFIG_PDN_DEFAULT_APN="my-apn"

I tried the CONFIG_PDN_INIT_PRIORITY=89 based on another post I saw, but that did not resolve it.

I also tried updating my toolchain, deleting and reinstalling my toolchain, and updating the modem firmware, but those did not fix it either.

Is there any more information I could get on this error or potential things to try?

Related