Tetron Gitbook
X/TwitterWebsite
  • Tetron.fun - Introduction
  • Tetron.fun - Platform Overview
  • Tetron.fun - Getting Started
  • Tetron.fun - Private RPC Nodes
  • Tetron.fun - Troubleshooting
  • Tetron.fun - API Refference
  • Tetron.fun - Webhooks & Event Subscriptions
  • Tetron.fun - Code Examples & Tutorials
  • Tetron.fun - Support
Powered by GitBook
On this page
  • Troubleshooting
  • 1. Authentication & Authorization
  • 2. Rate Limiting
  • 3. Network & Connectivity
  • 4. SDK Installation & Compatibility
  • 5. Transaction Submission Failures
  • 6. Interpreting Model Scores
  • 7. Logging & Diagnostics
  • 8. Contact & Escalation

Tetron.fun - Troubleshooting

Common issues, error codes, and solutions for Tetron integration.

Troubleshooting

This guide identifies frequent errors and operational issues you may encounter when using TetronFun, provides diagnostic steps, and outlines recommended resolutions.

1. Authentication & Authorization

Error Code
Message
Possible Cause
Resolution

401

Unauthorized

Invalid or expired API key/secret

• Verify key/secret values • Regenerate credentials in dashboard • Ensure clock skew is within tolerance

403

Forbidden

Insufficient scope for requested endpoint

• Check API key scopes in Settings → API Keys • Update scopes or create a new key with required permissions

2. Rate Limiting

Error Code
Message
Possible Cause
Resolution

429

Too Many Requests

Exceeded per‑minute or per‑connection limit

• Implement exponential backoff • Batch RPC calls where possible • Reduce polling frequency

3. Network & Connectivity

Symptoms

  • Timeouts (504 Gateway Timeout)

  • Connection refused or reset

  • WebSocket disconnects immediately after auth

Diagnosis & Remedies

  1. Verify Endpoint URLs • Confirm you are using https://rpc.tetronfun.com/<network> or correct base URL for REST/WebSocket.

  2. Check Network Access • Ensure outbound HTTPS/WebSocket traffic is permitted by your firewall.

  3. TLS Handshake Failures • Update client TLS libraries to support TLS 1.2+.

  4. WebSocket Auth Sequence • Send the auth payload immediately upon open event.

4. SDK Installation & Compatibility

Issue
Cause
Resolution

“Module not found” on import

Wrong package name or missing installation

• Confirm package name (@tetronfun/sdk or tetronfun) • Re-install via npm install or pip install

Version conflicts or deprecation

Incompatible SDK version vs. runtime environment

• Pin SDK version to match supported runtimes • Upgrade Node or Python to supported versions

5. Transaction Submission Failures

Common Errors

  • 400 Bad Request • Malformed JSON or missing required fields • Resolution: Validate request schema against API Reference

  • 422 Unprocessable Entity • Invalid parameter values (e.g. unsupported network or currency code) • Resolution: Cross‑check network, currency, and address formats

  • 500 Internal Server Error • Temporary backend issue • Resolution: Retry with exponential backoff; if persistent, contact support

6. Interpreting Model Scores

Unexpected Scores

  • All-zero scores • May indicate input parsing failure or empty historical data • Resolution: Confirm addresses exist on chain and transaction parameters are correct

  • Scores out of expected range • SDK version mismatch or API change • Resolution: Upgrade to latest SDK and review response schema in API Reference

7. Logging & Diagnostics

  • Enable verbose logging in SDK:

    • JavaScript:

      const client = new TetronFun({ /* … */ , debug: true });
    • Python:

      import logging
      logging.basicConfig(level=logging.DEBUG)
      client = TetronFun(/* … */)
  • Review logs for request/response payloads, timestamps, and error stacks.

8. Contact & Escalation

If your issue persists after following the above steps:

  1. Collect:

    • API key ID

    • Request timestamp and payload

    • Full response/error message

  2. Submit a support ticket at support@tetronfun.com with the above details.

  3. Reference the GitBook section “Troubleshooting” and include relevant log excerpts.


End of Troubleshooting guide. Continue to the API Reference for detailed endpoint specifications.

PreviousTetron.fun - Private RPC NodesNextTetron.fun - API Refference

Last updated 12 days ago