Skip to content

Provision Device with custom ThingStream device profile ID gives "JSON error" #459

@edgecase14

Description

@edgecase14

Subject of the issue

A previous attempt with another device failed because I set up the ThingStream Device profile with Auto Activate disabled. I enabled it, and tried on another ESP32 Thing C Plus (different mac address), and then ran into this error.

Provisioning fails with "JSON error"

A second attempt gives:
HTTP response error 403: Device already registered
And I can see in ThingStream a new Location Thing is created and activated. Plan is L-band + IP, I have filtered only US topics.

Your workbench

  • What version of RTK firmware are you running? v3.2 binary from github
  • This is a custom L-band setup using ESP32 Thing Plus C + F9P-D9S combo board
  • What radios are you using: Bluetooth, WiFi,
  • What app are you using to connect over Bluetooth? None - using ESP32 USB serial console
  • Are you transmitting NTRIP back to the device? No
  • Are there any additional details that may help us help you? Manual key entry works, PointPerfect gets 1-2cm accuracy.

Steps to reproduce

console output:

Menu: PointPerfect Corrections
Device ID: E05A1B595312
Days until keys expire: No keys

  1. Use PointPerfect Corrections: Enabled
  2. Toggle Auto Key Renewal: Enabled
  3. Provision Device
    k) Manual Key Entry
    x) Exit
    3
    Connecting WiFi...
    Using custom token:
    Connecting to: https://api.thingstream.io/ztp/pointperfect/credentials
    JSON error
    Bluetooth broadcasting as: Surveyor Rover-XXXX

Expected behavior

I assume it would download device credentials, and then L-band keys via MQTT.

Actual behavior

"JSON error" on console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions