Skip to content

Latest commit

 

History

History
199 lines (145 loc) · 4.41 KB

Exceptions.md

File metadata and controls

199 lines (145 loc) · 4.41 KB

Exceptions & Troubleshooting

This is a seperated documentation file written for Amino.Nets Exception and Troubleshooting!

  • This file might not always be up to date right away
  • This file contains every Amino.Net Exception wrapped up
  • To see the full general documentation consider reading Readme.md (Click here)
ErrorCode: 0: Client not logged in

Occurs when the Current Amino.Client() is not logged into any account when trying to call an account dependend function

Exception Type:

  • Amino.Net Exception

Fix:

  • the login() function of Amino.Client

Note:

  • None
start cannot be lower than 0

Occurs when trying to set an integer range below 0

Exception Type:

  • Amino.Net Exception

Fix:

  • Set the start value to 0 or above

Note:

  • None
Too many Requests

Occurs when an Amino endpoint has been called too often in too little time

Exception Type:

  • Amino REST Exception

Fix:

  • Consider using a delay on the function you got this API response from

Note:

  • None
403 Access Denied

Occurs when a Server gets too many requests by the same IP address

Exception Type:

  • HTTP Response

Fix:

  • Consider putting a delay to your code

Note:

  • 403 Access denied is a default HTTP response and cannot be fixed by code.
Invalid Email

Occurs when an Invalid email address is given

Exception Type:

  • Amino REST Exception

Fix:

  • Put a valid email address

Note:

  • None
Invalid password

Occurs when the account password is formatted in the wrong way

Exception Type:

  • Amino REST Exception

Fix:

  • Read the API Response and put the password accordingly

Note:

  • None
Your device is currently not supported

Occurs when the accounts device ID is invalid

Exception Type:

  • Amino REST Exception

Fix:

  • Update your device ID to the latest possible ID type

Note:

  • None
This code or link is invalid

Occurs when the given Amino URL / Code is invalid or outdated

Exception Type:

  • Amino REST Exception

Fix:

  • Put a valid Code / URL

Note:

  • None
Failed to establish connection / Timed out

Occurs when the Request is taking too long

Exception Type:

  • HTTP Response

Fix:

  • Don't use a proxy / VPN or try again later with a mmore stable connection

Note:

  • None
The requested data no longer exists

Occurs when the object you want to target doesn't exist anymore

Exception Type:

  • Amino REST Exception

Fix:

  • Get a new Target ID / URL

Note:

  • None
You are Banned

Occurs when the current Amino account has been banned from a community they want to target

Exception Type:

  • Amino REST Exception

Fix:

  • There is no fix

Note:

  • None
Bad Request

Occurs when the request data is wrong

Exception Type:

  • HTTP Response

Fix:

  • None, please contact the Author of the library or open a GitHub issue as soon as possible

Note:

  • None
any NullException

Occurs when a target value is null

Exception Type:

  • C# / Amino.Net Exception

Fix:

  • If you're sure that your data is valid, please consider contacting the Author of the library or open a GitHub issue as soon as possible

Note: