EC21 PDP creation fails [Solved]

Hardware = EC21A, country = USA.

I cannot create a PDP. This is using a SIM from ‘Red Pocket Mobile’ with a data only plan for the AT&T network. It gets on the network ok, and looking at the Red Pocket control panel the correct SIM, device ID and device type (Quectel EC21) are there. So the EC21 is talking with AT&T.
But AT+QIACT=1 fails. Not sure why yet.

ATI
Quectel
EC21
Revision: EC21AFAR05A04M4G
AT+CSQ
+CSQ: 8,99
OK
AT+QNVW=5280,0,"0102000000000000"
OK
AT+QNVFW="/nv/item_files/modem/mmode/ue_usage_setting",01
OK
AT+QNVFW="/nv/item_files/ims/IMS_enable",00
OK
AT+QNVFW="/nv/item_files/modem/mmode/sms_only",01
OK
AT+CGDCONT=1,"IPV4V6","broadband"
OK
AT+CPIN?
+CPIN: READY
OK
AT+CREG?
+CREG: 2,1,"xxxx","xxxxxxx",2
OK
AT+CEREG?
+CEREG: 0,1
OK
AT+COPS?
+COPS: 0,0,"Red Pocket",2
OK
AT+QNWINFO
+QNWINFO: "HSPA+","xxxxxx","WCDMA 850",4385
OK
AT+QICSGP=1
+QICSGP: 1,"broadband","","",0
OK
AT+QIACT?
OK
AT+QIACT=1
ERROR
AT+QIGETERROR
+QIGETERROR: 561,activate pdp context failed
OK

The only thing I see out of place is that QNWINFO returns WCDMA 850. Not sure if this is valid for the LTE network as it appears to be 3G+ rather than LTE. Previously I had +QNWINFO: "HSPA+","xxxxxx","WCDMA 850",4385 which looked normal, but PDP creation did not work.

Edit: I forced the use of LTE rather than WCDMA, but same result

AT+QCFG="nwscanmode",3
OK
AT+QNWINFO
+QNWINFO: "FDD LTE","310410","LTE BAND 2",850
OK

Edit: Apparently the correct APN for Red Pocket AT&T is “ERESELLER”

AT+CGDCONT=1,"IPV4V6","ERESELLER"
OK
AT+QNWINFO
+QNWINFO: "FDD LTE","310410","LTE BAND 2",850
OK
AT+QIACT?
OK
AT+QIACT=1
OK

Then things get messy because I am not resetting the device before each test. But the PDP is being created and I get an IP address.

hi there
Thanks for your share, i believe it is useful to others.