Jump to content

api/classifieds/list/v1 not work


haskell_md2

Recommended Posts

Hello, I have problem related Backpack.tf API. When I try create buy order, i get response:

    "listings": {
        "7140702751": {
            "error": "Warning: Undefined array key \"timestamp\""
        }
    }

 

What is wrong? I use Postman for request. Here are the JSON request parameters: 

{
"token": "secret:)",

"listings": [{
    "intent": 0,
    "id": 7140702751,
    "item": {
        "item_name": "Dead Cone",
        "craftable": "",
        "priceindex": ""
        },
    "offers": 0,
    "buyout": 0,
    "promoted":"",
    "details": "test api",
    "currencies": {"metal": 1}
}]
}

 

Link to comment
Share on other sites

  • 2 months later...
Warning: Undefined array key \"timestamp\"

Is something I discovered happening right after the V2 API endpoints got implemented. The error means that the item is not in your backpack.tf inventory.

Link to comment
Share on other sites

  • haskell_md2 locked this topic

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...