Git Product home page Git Product logo

Comments (2)

purestaketdb avatar purestaketdb commented on August 20, 2024

Following up on this, using the sandbox I constructed a local curl command with a bad transactions and did get a 'text/plain' response. Moving forward with the assumption then that all errors specified as 'string' return as 'text/plain'.

`root@7ff87f1bb76a:/opt/algorand/node# curl -v -X POST --data-binary @./400_test_2.tx -H "X-Algo-API-Token: $(cat ./data/algod.token)" -H "Content-Type: application/x-binary" http://127.0.0.1:4001/v1/transactions
Note: Unnecessary use of -X or --request, POST is already inferred.

  • Trying 127.0.0.1...
  • TCP_NODELAY set
  • Connected to 127.0.0.1 (127.0.0.1) port 4001 (#0)

POST /v1/transactions HTTP/1.1
Host: 127.0.0.1:4001
User-Agent: curl/7.58.0
Accept: /
X-Algo-API-Token: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Content-Type: application/x-binary
Content-Length: 258

  • upload completely sent off: 258 out of 258 bytes
    < HTTP/1.1 400 Bad Request
    < Access-Control-Allow-Headers: X-Algo-API-Token, Content-Type
    < Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS
    < Access-Control-Allow-Origin: *
    < Date: Thu, 12 Mar 2020 14:34:15 GMT
    < Content-Length: 77
    < Content-Type: text/plain; charset=utf-8
    <
  • Connection #0 to host 127.0.0.1 left intact
    TransactionPool.Remember: txn dead: round 5455525 outside of 5153790--5154790root@7ff87f1bb76a:/opt/algorand/node# `

from docs.

ejbaran avatar ejbaran commented on August 20, 2024

This inconsistent behavior is expected to be fixed as part of an upcoming release. We will comment here with more information as it becomes available.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.