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.

Error: Calling factory deployed contract gives a 500 error

See original GitHub issue

Issue Description

When trying to interact with ( a contract that has been deployed by a factory the following request is made:




Producing a 500 error:

{"code": "StarkErrorCode.MALFORMED_REQUEST", "message": "{'contract_address': ['Expected hex string, got: \"0x03053E2e251CB67e652BAF3a3fF091F807BfDC1f01EE21Ef64180559bc0ee739\".']}"}


Calling the contract without specifying the blockNumber should work? Seems by default block_number=pending is assigned to one where it cannot find the block number? Known issue in Voyager but believe the feeder_gateway has the contract info fine.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

badurinantuncommented, Jul 13, 2022

Rather than sending them lowercase we could parse them with toHex(toBn(...)

ivpavicicommented, Aug 12, 2022

@supsam89 closing this issue due to inactivity, feel free to reopen if any more questions arise!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Laravel+lumen issue of 500 error on every service api after ...
I am using laravel+Lumen ("php": ">7.3","laravel/lumen-framework": ">7.0" ) for 2 months its working fine right now it is giving every API 500 ......
Read more >
App Service Deployment Failing w/500 error starting Sept 16 ...
I'm using version 4.x of the Azure App Service Deploy task in Devops (VSTS). The call to POST the new upload is failing...
Read more >
500 Response body: {"message":"Internal Server Error"}
trying to make http call but getting error. it is calling my node to run the job though. { "name": "", "initiators": [ ......
Read more >
Error 500 when logging to IFS10 - IFS Community
This is an internal server error, usually, this occurs when your Middleware servers are down or not in running status. Please try to...
Read more > core app deployed on iis meets 500 internal server error
Change stdoutLogEnabled="false" to true and then check the logs at stdoutLogFile=". · Check that you set up right Environment Name using ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found