Common API errors and how to solve them

From 99Stack Cloud Docs

When using 99Stack API either directly or via a graphical interface you may sometimes see various errors when a task fails to execute. In this article, you'll learn about which error messages you can receive, what they mean, why they are there and most important, some workarounds and best practices you may consider when developing your own applications to manage cloud resources via 99Stack API.


   Invalid call, function does not exist in API

Check the API endpoint URL, this happens on any call to any non existing function and is the same as a 404 error.


   This function cannot be used until account is activated

This message will how up on any API call made to a non activated account. Account activation is made using the activation link sent to a valid email address provided during signup. This feature exist mainly to ensure that we can reach out to you if needed, send important notifications and to reduce the amount of fake/spam accounts.

   This account has been marked for additional review by Paypal due to a problem with the latest payment. Please contact support to request approval and learn more.

When a payment is made using Paypal we'll make additional checks to make sure no fraudulent or potentially dangerous payments comes in. This means, if a payment for any reason looks suspicious or if Paypal warns us about a potentially dangerous payment your account will be marked and go into lock down mode. In lock down mode, you'll be able to view your servers and cloud resources only but you cannot manage your resources.

The message above will be displayed during any attempt to manage (i.e start/stop a server, deploy etc..). The transaction will be logged and your balance will update but you need to contact support in order to have the issue investigated and your account unlocked again. The support team will let you know what happened in your specific case and let you choose between a few options, there is always an option to refund the full amount of your transaction.