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.

Cannot create a sell order. Error "{"errors":[{"text":"Method not allowed"}]}"

See original GitHub issue

Hello,

I am trying to create the following sell order:

order = Order(
        action=1,
        order_type=0,
        price=54.1,
        product_id=18364386,
        size=2,
        time_type=3,
    )

When trying to validate the order with checking_response = trading_api.check_order(order=order,raw=True)["data"] I get a “None” response. If I click in the url popping up in the console, I get the following error: {“errors”:[{“text”:“Method not allowed”}]}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TommasoBendinellicommented, Mar 9, 2022

Great thanks, I will post the output when it happens again.

0reactions
TommasoBendinellicommented, Mar 14, 2022

I also don’t have more debug outputs. Apparently, it seems to happen when I am trying to sell something bought on the same day.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix HTTP Error 405 Method Not Allowed - Hostinger
When a website shows the 405 Method Not Allowed notification, it indicates a Hypertext Transfer Protocol (HTTP) error.
Read more >
How to Fix the HTTP 405 Method Not Allowed Error - Kinsta®
It's an HTTP response status code that indicates that the request method is known by the server but is not supported by the...
Read more >
The 2-Minute Guide to Fixing HTTP Error 405 (Method Not ...
How to Fix 405 Method Not Allowed Errors. 1. Comb through your website's code to find bugs. If there's a mistake in your...
Read more >
How to Fix the 405 Method Not Allowed Error in WordPress
The 405 error can be difficult to deal with due to a lack of information. Here's how to troubleshoot the error if you're...
Read more >
405 Method Not Allowed: What It Is and How to Fix It
The 405 Method Not Allowed is an HTTP response status code indicating that the server received and recognized the specified request HTTP ...
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