BG77 AT&T NB-IoT +CME ERROR: 30

I’m having problems getting my BG77 module up and running on AT&T NB-IoT. The sim is activated, however when I try the following commands to activate the network, I keep running into +CME ERROR: 30

ati
Quectel
BG77
Revision: BG77LAR02A02

AT+GMM
BG77

AT+GSN
866349041088471

AT+CGMR
BG77LAR02A02

AT+QNWINFO
+QNWINFO: “eMTC”,“310410”,“LTE BAND 12”,5145

OK
AT+QCSQ
+QCSQ: “eMTC”,-57,-83,147,-12

AT+COPS?
+COPS: 0

AT+CFUN=?
+CFUN: (0,1,4),(0,1)

OK
AT+CFUN?
+CFUN: 1

AT+COPS=?
+COPS: (1,“311 589”,“311 589”,“311589”,8),
(3,“311 490”,“311 490”,“311490”,8),
(1,“AT&T”,“AT&T”,“310410”,8),
(1,“311 588”,“311 588”,“311588”,9),
(1,“313 100”,“313 100”,“313100”,8),
(3,“AT&T”,“AT&T”,“311580”,8),
(3,“T-Mobile”,“T-Mobile”,“310260”,8),
(1,“AT&T”,“AT&T”,“310410”,9),
(1,“311 588”,“311 588”,“311588”,8),
(3,“T-Mobile”,“T-Mobile”,“310260”,9),
,(0,1,2,3,4),(0,1,2)

AT+COPS=1,2,“310410”,9
+CME ERROR: 30

at+cgdcont=4,“IP”,“m2m.com.attz”,“0.0.0.0”,0,0,0
OK

AT+CGACT=0,1
OK
AT+CGACT=1,4
+CME ERROR: 30

Try again after executing the following instructions.
AT+CFUN=0
AT+QCFG=“nwscanseq”,0302
AT+QCFG=“iotopmode”,1
AT+CFUN=1

Thank you for the reply, I tried your instructions but the problem remains…

What is CME?

Blockquote
AT+CFUN=0
OK
AT+QCFG=“nwscanseq”,0302
OK
AT+QCFG=“iotopmode”,1
OK
AT+CFUN=1
OK
+CPIN: READY
+QUSIM: 1
+QIND: SMS DONE
AT
OK
AT+CGACT=?
+CGACT: (0,1)
OK
at+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0
OK
AT+CGDCONT?
+CGDCONT: 1,“IP”,“internet”,“0.0.0.0”,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0
+CGDCONT: 3,“IP”,“attm2mglobal”,“0.0.0.0”,0,0,0
+CGDCONT: 4,“IP”,“m2m.com.attz”,“0.0.0.0”,0,0,0
OK
AT+COPS=?
+COPS: (1,“AT&T”,“AT&T”,“310410”,9),(1,“T-Mobile”,“T-Mobile”,“310260”,9),(0,1,2,3,4),(0,1,2)
OK
AT+COPS=1,2,“310410”,9
+CME ERROR: 30
AT+CGACT=0,1
OK
AT+CGACT=0,4
OK
AT+CGACT=1,4
ERROR
AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
+CGACT: 4,0
OK
AT+CGACT=?
+CGACT: (0,1)
OK
AT+QCFG=?
+QCFG: “servicedomain”,(1,2),(0,1)
+QCFG: “nwscanseq”,(0203),(0,1)
+QCFG: “band”,(0),(0-7FFFFFFFFFFFFFFF),(0-7FFFFFFFFFFFFFFF),(0,1)
+QCFG: “iotopmode”,(0-2)
+QCFG: “celevel”,(0-2)
+QCFG: “urc/ri/ring”,(“off”,“pulse”,“always”,“auto”,“wave”),(1-2000),(1-10000),(1-10000),(“off”,“on”),
(1-5)
+QCFG: “urc/ri/smsincoming”,(“off”,“pulse”,“always”),(1-2000),(1-5)
+QCFG: “urc/ri/other”,(“off”,“pulse”),(1-2000),(1-5)
+QCFG: “risignaltype”,(“respective”,“physical”)
+QCFG: “urc/delay”,(0,1)
+QCFG: “ledmode”,(0,1,3)
+QCFG: “gpio”,,[,[,,]/[][,]]
+QCFG: “airplanecontrol”,(0,1)
+QCFG: “cmux/urcport”,(0-4)
+QCFG: “apready”,(0,1),(0,1),(100-3000)
+QCFG: “nccconf”,(0-1FF)
+QCFG: “psm/enter”,(0,1)
+QCFG: “psm/urc”,(0,1)
+QCFG: “simeffect”,(0,1)
+QCFG: “lapiconf”,(0-2),(0,1)
+QCFG: “snrscan”,(0-2)
+QCFG: “nasconfig”,(0-7FFF)
+QCFG: “apn/display”,(0,1)
+QCFG: “irat/timer”,(5,300),(5,20)
+QCFG: “nb1/bandprior”,<band_priority_seq>
Blockquote

Check whether the sim is bound and supports the NB service.

I’m not sure what you mean by “bound” ?

The sim is a “NB-IoT One Rate Plan” and the status is active in the AT&T portal…

Some NB cards will have the phenomenon of machine card binding, if this card is used on other devices, it may not be available on the current device.

Is there a way to check for this?

You can check with the card dealer.