You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is a JSONDecodeError during runtime as the content portion of the response is empty. Has anyone else experienced this issue? This is the only callout that I've experienced this issue with. I've tried with a few other tickers as well but am still returning empty contents.
The text was updated successfully, but these errors were encountered:
Hello!
While playing around with this I've noticed that get_options is successfully calling to the API but not returning content.
SPY 4/27 options result
{'_content': b'', '_content_consumed': True, '_next': None, 'status_code': 200, 'headers': {'Content-Length': '0', 'Connection': 'keep-alive', 'Date': 'Mon, 25 Apr 2022 17:56:35 GMT', 'Server': 'nginx', 'Webull-Via': 'webull', 's0': 'vir-n1', 'Set-Cookie': 'eid01=0;Path=/;', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 b2e880ac67c1fba390623b9fc04bd63a.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'DEN50-C2', 'X-Amz-Cf-Id': 'iASM8csiW_inarMAh0RVyXV1RIiY4-SAPYtH_09gjk_ZfNinMnxM8Q=='}, 'raw': <urllib3.response.HTTPResponse object at 0x000002C9D7406B90>, 'url': 'https://quoteapi.webullbroker.com/api/quote/option/913243251/list?count=-1&includeWeekly=1&direction=all&expireDate=2022-04-27&unSymbol=SPY&queryAll=0', 'encoding': None, 'history': [], 'reason': 'OK', 'cookies': <RequestsCookieJar[Cookie(version=0, name='eid01', value='0', port=None, port_specified=False, domain='quoteapi.webullbroker.com', domain_specified=False, domain_initial_dot=False, path='/', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]>, 'elapsed': datetime.timedelta(microseconds=630931), 'request': <PreparedRequest [GET]>, 'connection': <requests.adapters.HTTPAdapter object at 0x000002C9D74062F0>}
DIS 4/29 options results
{'_content': b'', '_content_consumed': True, '_next': None, 'status_code': 200, 'headers': {'Content-Length': '0', 'Connection': 'keep-alive', 'Date': 'Mon, 25 Apr 2022 18:18:49 GMT', 'Server': 'nginx', 'Webull-Via': 'webull', 's0': 'vir-n1', 'Set-Cookie': 'eid01=0;Path=/;', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 34d691c1cf360a32817ace92de30761c.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'EWR53-C3', 'X-Amz-Cf-Id': 'asRMK3TDLhDhTB3BuaayDViUk1NzeYcFBhrojAKVFFYKX3wGTZeDIg=='}, 'raw': <urllib3.response.HTTPResponse object at 0x000001F64948FD30>, 'url': 'https://quoteapi.webullbroker.com/api/quote/option/913255192/list?count=30&includeWeekly=1&direction=all&expireDate=2022-04-29&unSymbol=DIS&queryAll=0', 'encoding': None, 'history': [], 'reason': 'OK', 'cookies': <RequestsCookieJar[Cookie(version=0, name='eid01', value='0', port=None, port_specified=False, domain='quoteapi.webullbroker.com', domain_specified=False, domain_initial_dot=False, path='/', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={}, rfc2109=False)]>, 'elapsed': datetime.timedelta(microseconds=629539), 'request': <PreparedRequest [GET]>, 'connection': <requests.adapters.HTTPAdapter object at 0x000001F64948F010>}
The result is a JSONDecodeError during runtime as the content portion of the response is empty. Has anyone else experienced this issue? This is the only callout that I've experienced this issue with. I've tried with a few other tickers as well but am still returning empty contents.
The text was updated successfully, but these errors were encountered: