Cloud Development Kit

Run out of credit

 Hi,

I want to cater for when there is an issue with payment which prevents the API from functioning. I cannot see any documentation on what will be passed back to in that event. I have looked at the API documentation:

https://developer.myscript.com/refguides/cdk/cloud/3.2/

and the V4 documentation:

https://swaggerui.myscript.com/

There was another forum topic about exceptions, however I cannot download the attached text document.

Any advice would be helpful.

Regards

Phil

1 Comment

Dear Phil,


thank you for your questions.


In case your cartridge is empty, you should have the EmptyCartridgeException.


In case a threshold is reached (e.g. limit of 2000 requests/mont), the AccountCounterThresholdReachedException exception will be raised.


Best regards,


Olivier

Login or Signup to post a comment