webull icon indicating copy to clipboard operation
webull copied to clipboard

get_watchlist 500 error

Open dnapier opened this issue 3 years ago • 8 comments

Will update with error and details tomorrow. Leaving this as a placeholder reminder but it seems the endpoint has changed.

dnapier avatar Feb 21 '22 06:02 dnapier

image image

dnapier avatar Feb 21 '22 17:02 dnapier

Just for further detail, I believe the API has changed and this component is now being handled by client side JavaScript. Have not been able to confirm though

dnapier avatar Feb 21 '22 23:02 dnapier

Have researched it some, looks like that data is stored in the IndexedDB and controlled by a couple of the many .js files imported from wbstatic.webullfintech.com/v1/webquotes-g/... That's as far as I'm going with it. Reading symbol stripped JavaScript is too painful.

dnapier avatar Feb 22 '22 02:02 dnapier

401 error seems to be authorization issue. Its working fine for me.

image

ssheikh098 avatar Feb 22 '22 02:02 ssheikh098

Thank you for verifying. I won't be able to confirm until Wednesday, but the raw output matches that described in the wiki, so you very likely are correct.

dnapier avatar Feb 22 '22 03:02 dnapier

Hmm.. doesn't seem to be that. I am successfully logged in and get the same result.

image image

Oddly enough, I see that URL/path return the same response (500 error) when running through a web proxy with the webull web app as well..

For reference, here is the request to get_watchlists() being sent, followed by the response. image

image

dnapier avatar Feb 23 '22 20:02 dnapier

Can you check header - from this point to see if it has access token

image

link in my case: image

ssheikh098 avatar Feb 23 '22 21:02 ssheikh098

Indeed, it does. image

I removed it from the request screenshot above as sensitive information.

dnapier avatar Feb 23 '22 21:02 dnapier