# AWS IoT ExpressLink SARA-R5 Starter Kit V2 Connections registrations issues

**URL:** <https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866>\
**Category:** Cellular\
**Created:** [July 4, 2023, 1:45pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866 "2023-07-04T13:45:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoIkana](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RoIkana](https://community.sparkfun.com/u/RoIkana)\
**Post date:** [July 4, 2023, 1:45pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/1 "2023-07-04T13:45:03Z")

</div>

Hello, I’m trying to follow the official documentation [https://content.u-blox.com/sites/defaul … 042016.pdf](https://content.u-blox.com/sites/default/files/SARA-R5-AWS-IoT-ExpressLink-development-guide_AppNote_UBX-21042016.pdf) when registering for AWS.

- I don’t see the message “Welcome to u-blox AWS IoT ExpressLink SARA-R5”
  
- I do see the message “OK” when doing the “AT” command
   
- When executing the command “AT+CONF [EndPoint=xxxxxxx-ats.iot.us-east-1.amazonaws.com](http://EndPoint=xxxxxxx-ats.iot.us-east-1.amazonaws.com)” I get “ERR11 UNKNOWN KEY”
  
I’m using an m1 MacBook air and coolterm to connect this is my configuration.  
 ![Untitled.jpg](https://canada1.discourse-cdn.com/sparkfun/original/3X/d/d/dd7aa00b9c3036853458391725233235197655cb.jpeg)

---

<div class="post-metadata">

**Author:** ![fpintellegre](https://avatars.discourse-cdn.com/v4/letter/f/3be4f8/32.png) [@fpintellegre](https://community.sparkfun.com/u/fpintellegre)\
**Post date:** [July 11, 2023, 3:22am UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/2 "2023-07-11T03:22:44Z")

</div>

We are facing the same issue.

---

<div class="post-metadata">

**Author:** ![TS-John](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-john/32/6093_2.png) [@TS-John](https://community.sparkfun.com/u/TS-John)\
**Post date:** [July 17, 2023, 11:27pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/3 "2023-07-17T23:27:02Z")

</div>

We will look into this issue soon and see what the problem is. I am not sure off the top of my head as the product should work as instructed via documentation.

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [July 18, 2023, 6:06pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/4 "2023-07-18T18:06:09Z")

</div>

Try performing a factory reset [https://content.u-blox.com/sites/defaul … 042016.pdf](https://content.u-blox.com/sites/default/files/SARA-R5-AWS-IoT-ExpressLink-development-guide_AppNote_UBX-21042016.pdf) (page 18) and see if that helps - any luck?

---

<div class="post-metadata">

**Author:** ![RoIkana](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RoIkana](https://community.sparkfun.com/u/RoIkana)\
**Post date:** [July 19, 2023, 1:22pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/5 "2023-07-19T13:22:34Z")

</div>

The factory reset apparently did work.

Also instead of using CoolTerm I started using Pyserial for reproducibility:

```auto
import serial
import time

# Replace with your COM port
COM_PORT = '/dev/cu.usbserial-110'
BAUD_RATE = 115200

def send_command(ser, command):
    ser.write((command + '\r\n').encode())
    time.sleep(1)

    while ser.in_waiting:
        response = ser.readline().decode().strip()
        print(response)
        return response

def main():
    # Connect to the board
    ser = serial.Serial(COM_PORT, BAUD_RATE, timeout=1)
    print('Connected to the board')

    # Wait for the welcome message
    while not send_command(ser, 'AT'):
        time.sleep(1)

    # Configure the board
    # Replace with your actual commands
    response = send_command(ser, 'AT+FACTORY_RESET')
    print("Response from the board: ", response)

    # Close the connection
    ser.close()

if __name__ == ' __main__':
    main()

```

Response:

```auto
❯ python3.11 reset.py    
Connected to the board
OK
OK
Response from the board: OK

```

But before and after the reset with this script:

```auto
import serial
import time

# Replace with your COM port
COM_PORT = '/dev/cu.usbserial-110'
BAUD_RATE = 115200

def send_command(ser, command):
    ser.write((command + '\r\n').encode())
    time.sleep(1)

    while ser.in_waiting:
        response = ser.readline().decode().strip()
        print(response)
        return response

def main():
    # Connect to the board
    ser = serial.Serial(COM_PORT, BAUD_RATE, timeout=1)
    print('Connected to the board')

    # Wait for the welcome message
    while not send_command(ser, 'AT'):
        time.sleep(1)

    # Configure the board
    # Replace with your actual commands
    response = send_command(ser, 'AT+CONF EndPoint=xxxxxx-ats.iot.us-east-1.amazonaws.com')
    print("Response from the board: ", response)

    # Close the connection
    ser.close()

if __name__ == ' __main__':
    main()

```

I get this error:

```auto
❯ python3.11 configure.py
Connected to the board
OK
ERR11 UNKNOWN KEY
Response from the board: ERR11 UNKNOWN KEY

```

Which is the same I was getting before.

---

<div class="post-metadata">

**Author:** ![TS-Russell](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/ts-russell/32/6092_2.png) [@TS-Russell](https://community.sparkfun.com/u/TS-Russell)\
**Post date:** [July 19, 2023, 9:10pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/6 "2023-07-19T21:10:10Z")

</div>

Ok, now that the board is at least responding when hooked up, the error for an unknown key is usually a typo either in the key itself or the code that uses it - try using the AWS key elsewhere, or performing some other sandbox-style test…are the keys functional otherwise?

---

<div class="post-metadata">

**Author:** ![RoIkana](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RoIkana](https://community.sparkfun.com/u/RoIkana)\
**Post date:** [July 19, 2023, 11:16pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/7 "2023-07-19T23:16:04Z")

</div>

Yes, I was able to move forward. The documentation is wrong; the error here([https://docs.aws.amazon.com/iot-express … lpg-table2](https://docs.aws.amazon.com/iot-expresslink/latest/programmersguide/elpg-configuration-dictionary.html#elpg-table2)) says:

```auto
5.1.1.5 ERR11 UNKNOWN KEY
If the parameter name (key) is not found in Table 2 - Configuration dictionary persistent keys or Table 3 - Configuration dictionary non-persistent keys , then the module returns 'ERR11 UNKNOWN KEY'.

```

And on the table, the key is Endpoint on the docs is EndPoint.

---

<div class="post-metadata">

**Author:** ![RoIkana](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RoIkana](https://community.sparkfun.com/u/RoIkana)\
**Post date:** [July 20, 2023, 2:28am UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/8 "2023-07-20T02:28:44Z")

</div>

Ok so I don’t know if the documentation is up to date I was able to advance when doing AT+CONF Endpoint=

But now that I try to get the cert as per the doc I only get:

```auto
AT+CONF? Certificate
OK

```

But no cert text am I missing something?

---

<div class="post-metadata">

**Author:** ![attep](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/attep/32/6401_2.png) [@attep](https://community.sparkfun.com/u/attep)\
**Post date:** [August 16, 2024, 8:04pm UTC](https://community.sparkfun.com/t/aws-iot-expresslink-sara-r5-starter-kit-v2-connections-registrations-issues/45866/9 "2024-08-16T20:04:40Z")

</div>

Having same issue, except:

- I can see “OK” after “AT” (= my terminal settings seems correct)
- “AT+FACTORY\_RESET” prompts “OK” and “Rebooting…” (it did not help)
- if I write “AT+NONSENSE” I get “ERR3 COMMAND NOT FOUND” (=command line interpreting itself works)
- only thing that is missing is this “Welcome to u-blox AWS IoT ExpressLink SARA-R5” in the beginning

What could be wrong?
