If you bump into an error in the initialization, you may have forgotten that the
R2U.init function is asynchronous. The solution is to
await the method before calling the others. Here are two implementation possibilities:
Sometimes you might end up in some trouble by getting an older version of the SDK. To fix this, either:
- Double check you are using the latest version latest version of the SDK
- Add the package with
Remember that these functions have specific parameters.
The correct implementation is to simply explicit the parameters:
This error means that the SKU that you are calling isn't in our database. If you think the SKU you are calling is correct, some common causes are listed here:
- the SKU wasn't created yet on our database
- the SKU you are calling doesn't match the one we have
Please get in touch (firstname.lastname@example.org) to clear this issue.
If you didn't get any errors cited here, you may not have approved the model yet on our console.