Skip to content

HTTPError at /testing/ 405 Client Error: Method Not Allowed for url:  #1036

Closed
@rabiaasif

Description

@rabiaasif
  • Version: x.x.x
  • Python: 2.7/3.4/3.5
  • OS: osx/linux/win

What was wrong? --- Can't call create filter on contract

Please include any of the following that are applicable:

  • The code which produced the error
    myContract = w3.eth.contract(address="some_address",abi=contract_abi) #this works fine, i can call methods from here and i get a response

    myfilter_new= myContract.events.Transfer.createFilter(fromBlock=0, toBlock='latest')
    #when i run this, i get the following issue:

  • The full output of the error:

HTTPError at /testing/
405 Client Error: Method Not Allowed for url: https://rinkeby.infura.io/my_api_key

Fill this section in if you know how this could or should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions