orderly-sdk-debugging

Debug Orderly SDK build errors, API codes, and WebSocket issues.

2|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/OrderlyNetwork/skills --skill orderly-sdk-debugging-orderlynetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orderly-sdk-debugging
Source: https://github.com/OrderlyNetwork/skills/tree/main/skills/orderly-sdk-debugging
Command: npx skills add https://github.com/OrderlyNetwork/skills --skill orderly-sdk-debugging-orderlynetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers quickly identify and resolve common errors and issues encountered while using the Orderly SDK, reducing development time and frustration.

Core Features & Use Cases

  • Error Code Resolution: Provides explanations and solutions for specific API, Order, and Withdrawal error codes.
  • Connection Troubleshooting: Offers guidance on monitoring and debugging WebSocket connections and account states.
  • Use Case: A developer is encountering a -1002: Unauthorized error when trying to submit an order. They can use this Skill to understand that it's likely due to an invalid or expired API key and follow the steps to re-authenticate.

Quick Start

Use the orderly-sdk-debugging skill to find a solution for the 'Buffer is not defined' error.

Frequently Asked Questions about orderly-sdk-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix the 'Buffer is not defined' build error in the Orderly SDK?

To resolve the 'Buffer is not defined' build error in the Orderly SDK, you must configure your build environment to include necessary Node.js polyfills. This Skill provides targeted solutions for common build errors and CSS import issues encountered during SDK setup.

Why does my Orderly SDK API request return a -1002 Unauthorized error?

A -1002 Unauthorized error in the Orderly SDK indicates an invalid or expired API key. You can resolve this authentication issue by following the provided debugging strategies to re-authenticate and verify your account state before retrying your request.

How do I troubleshoot WebSocket connection problems with the Orderly SDK?

To troubleshoot WebSocket connection problems in the Orderly SDK, use this Skill to monitor connection states and identify network-related issues. It offers guidance on debugging strategies for resolving dropped connections and account state discrepancies.

What should I do when Orderly SDK order submission or withdrawal fails?

When order submission or withdrawal fails in the Orderly SDK, check the specific API, order, or withdrawal error codes returned. This Skill provides explanations and solutions for these error codes to help you identify and resolve deposit or order-specific failures.

How can I resolve CORS and rate limiting issues with the Orderly SDK?

To resolve CORS and rate limiting issues with the Orderly SDK, you must adjust your network request configurations to handle cross-origin restrictions and API call frequencies. This Skill offers debugging strategies for overcoming network-related problems.