Proposal Open Contract - Many GetProposalFailure

edited August 26

Greetings.

As of this morning I have been seeing many "GetProposalFailure" errors with the message "Sorry, an error occurred while processing your request." whenever I make a call to "proposal_open_contract".

{"echo_req":{"contract_id":"55610027428","proposal_open_contract":1,"req_id":1494735540,"subscribe":1},"error":{"code":"GetProposalFailure","message":"Sorry, an error occurred while processing your request."},"msg_type":"proposal_open_contract","proposal_open_contract":{},"req_id":1494735540}

This rarely occurred before today.

Any thoughts why this is happening so frequently?
Thank you.

Answers

  • Hi Sorry for the late response, is this still happening?

  • Hello.
    On the following day it had stopped.
    However, every once in a while it happens and now not only in Price Proposal, but also Buy Contract, same error message but different error codes.

  • OK thank you we will investigate

  • Hi.
    Since September 2nd I haven't seen any more occurrences of this issue.
    I will keep you updated.

  • Thanks, did you get some yesterday? We are aware of an issue that might be causing this and hope to resolve it today.

  • edited September 5

    Yesterday, 3rd of September, I didn't experienced this issue.
    But it should be noted that I might have missed these occurrences, since I only used the API for about 7-9 hours total with intervals in between.

  • @dump has this issue been resolved?

  • Good morning to you all,
    I am happy to read that one person has started
    something I am looking for, I need an API to place
    a new order of contract. I am a php developer and
    I have on going project yo implement this.

    Hope to read an answer soon, and thanks in advance.

  • @emma2474u said:
    Good morning to you all,
    I am happy to read that one person has started
    something I am looking for, I need an API to place
    a new order of contract. I am a php developer and
    I have on going project yo implement this.

    Hope to read an answer soon, and thanks in advance.

    Hi @emma2474u,
    The starting point for API development is here https://developers.binary.com/ .
    For PHP you would want to use a websocket client like https://github.com/ratchetphp/Pawl

    An example of implementing the ping call as demoed here https://developers.binary.com/api/#ping

    <?php
    
        require __DIR__ . '/vendor/autoload.php';
    
        \Ratchet\Client\connect('wss://ws.binaryws.com/websockets/v3?app_id=1089')->then(function($conn) {
            $conn->on('message', function($msg) use ($conn) {
                echo "Received: {$msg}\n";
                $conn->close();
            });
    
            $conn->send('{"ping" : 1}');
        }, function ($e) {
            echo "Could not connect: {$e->getMessage()}\n";
        });
    

    To create a contract you would first need to send the authorise https://developers.binary.com/api/#authorize call then the Buy Call https://developers.binary.com/api/#buy

    Hope this helps get you started,
    if you have more questions please start a new thread.

    regards

Sign In or Register to comment.