question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UUID_INVALID (PHP & Bittrex)

See original GitHub issue

Trying to get my orders from Bittrex. Tried creating a fresh new API key with the required permissions enabled, but I still get UUIID_INVALID. Tried even changing the symbols to none, ETH/BTC and BTC/ETH but still no luck.

I hid my secret key from the code, by the way.

  • OS: Windows 10
  • Programming Language: PHP
  • CCXT version: 1.10.621
  • Exchange: Bittrex
  • Method: fetch_order
<?php 

include "assets/import/ccxt/ccxt.php";
$bittrex = new \ccxt\bittrex (array ('apiKey' => '636b6210a3e8472b80820ccaf76967ec','secret' => 'XXX'));

echo '<pre>';


print_r($bittrex->fetch_order('bittrex','ETH/BTC'));


echo '</pre>';

?>


Fatal error:  Uncaught exception 'ccxt\ExchangeError' with message 'bittrex {"success":false,"message":"UUID_INVALID","result":null}' in C:\xampp\htdocs\assets\import\ccxt\php\bittrex.php:687
Stack trace:
#0 [internal function]: ccxt\bittrex->request('order', 'account', 'GET', Array)
#1 C:\xampp\htdocs\assets\import\ccxt\php\Exchange.php(644): call_user_func(Array, 'order', 'account', 'GET', Array)
#2 [internal function]: ccxt\Exchange->ccxt\{closure}(Array)
#3 C:\xampp\htdocs\assets\import\ccxt\php\Exchange.php(1460): call_user_func_array(Object(Closure), Array)
#4 C:\xampp\htdocs\assets\import\ccxt\php\bittrex.php(536): ccxt\Exchange->__call('accountGetOrder', Array)
#5 C:\xampp\htdocs\assets\import\ccxt\php\bittrex.php(536): ccxt\bittrex->accountGetOrder(Array)
#6 C:\xampp\htdocs\test.php(9): ccxt\bittrex->fetch_order('bittrex', 'ETH/BTC')
#7 {main}
  thrown in C:\xampp\htdocs\assets\import\ccxt\php\bittrex.php on line 687


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jan 9, 2018

uh alright. I’ll re-read it, thank you.

0reactions
kroitorcommented, Jan 9, 2018

@mohammadwillwin closed == filled == finished. Just read the Manual first in order to understand it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using bittrex api to get uuid not working - Stack Overflow
I read that it may be a policy recently applied by Bittrex, when a selllimit is made from a bot, you can be...
Read more >
Bittrex Developers
Bittrex provides a simple and powerful API consisting of REST endpoints for transactional operations and a complementary Websocket service providing ...
Read more >
API 2.0 trade_buy or trade_sell gives an error from bittrex #72
So am I right - the trade_buy does not work in 1.1 and in 2 as well right? So I have to either...
Read more >
Building a Simple Alt Coin Trading Bot Using Bittrex API
In this video I show how to use the Bittrex API to automate your cryptocurrency investment portfolio.
Read more >
Crypto Withdrawal Issues and FAQ - Bittrex Support
Here are some issues and frequently asked questions we receive about crypto withdrawals on Bittrex, and some helpful guidance: Issues...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found