Skip to main content

Troubleshooting

This guide provides solutions to common issues you may encounter while using the BeL2 SDK.

Common Issues

1. Connection Issues

If you're having trouble connecting to the Elastos Smart Chain:

  • Ensure you're using the correct RPC URL: https://api2.elastos.net/esc
  • Check your internet connection
  • Verify that the Elastos Smart Chain network is operational

2. Transaction Submission Failures

If your verification request transaction fails to submit:

  • Make sure you have sufficient ESC (Elastos Smart Chain native token) to cover gas fees
  • Check that you're using the correct chain ID (20 for Elastos Smart Chain)
  • Ensure your signer has the necessary permissions

3. Verification Status Not Updating

If the verification status seems stuck:

  • Ensure you're correctly subscribing to the status$ observable
  • Check that your verification request was successfully submitted
  • Be patient, as the verification process may take some time

Error Messages

Here are some common error messages you might encounter and their potential solutions:

  1. "Invalid chain ID": Make sure you're using the correct chain ID (20 for Elastos Smart Chain)
  2. "Transaction underpriced": Increase the gas price for your transaction
  3. "Insufficient funds": Ensure your account has enough ESC to cover gas fees

Getting Help

If you're experiencing issues not covered in this guide:

  1. Check the BeL2 documentation for any updates or additional information
  2. Join the BeL2 Discord community for community support
  3. Contact the BeL2 support team at [email protected]

Remember to provide as much detail as possible about your issue, including any error messages, when seeking help.