I tried to register the soracom SIM I bought from Amazon with the API, but it didn't work.
An ArgumentError occurs when you run the register_subscriber of soracom-sdk-ruby.
We created a class similar to the following and tested it by calling the SDK register_subscriber method in register_sim.
I have two questions.
1. Is the registrationSecret written in the API document correct for PASSCODE written on the SIM card?
2. If 1 is correct, how can I use the register_subscriber method?
If anyone knows, please take care of me.
The method is defined using keyword arguments, so when calling a method, the variable name must be specified as follows:
For your information, we have made a little effort to make the sample code provided work independently.
It should work if you give me the correct IMSI and passcode.
© 2022 OneMinuteCode. All rights reserved.