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.

Hi,

Server is returning a 204 Error, which leads to No JSON object could be decoded on the following request as below:

`instrument = ‘AU200_AUD’ start = datetime.datetime(2010, 4, 1, 17, 0, 1) end = datetime.datetime(2010, 4, 5, 3, 20, 1, 1)

candles = oanda.get_history( instrument = instrument, granularity = ‘M1’, candleFormat = ‘midpoint’, alignmentTimezone = ‘GMT’, start = start.isoformat(), end = end.isoformat())`

Any idea on why the server returns such error at this specific dates ?

Thanks

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
hootnotcommented, Mar 7, 2016

@OANDA : could you please let the community know if OANDA is still committed to support oandapy ?

0reactions
Pequecommented, May 31, 2016

@hootnot It seems not… 😐

Read more comments on GitHub >

github_iconTop Results From Across the Web

204 No Content - HTTP - MDN Web Docs - Mozilla
The HTTP 204 No Content success status response code indicates that a request has succeeded, but that the client doesn't need to navigate ......
Read more >
HTTP Status 204 (No Content) - REST
HTTP Status 204 (No Content) indicates that the server has successfully fulfilled the request and that there is no content to send in...
Read more >
HTTP Get with 204 No Content: Is that normal - Stack Overflow
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation. The response ......
Read more >
204 No Content - HTTP Status Code Glossary - WebFX
HTTP Status Code 204: The server has successfully fulfilled the request and that there is no additional content to send in the response...
Read more >
Empty list, HTTP status code 200 vs 204 vs 404 - API Handyman
The not so current 204 ... The 204 (No Content) status code indicates that the server has successfully fulfilled the request and that...
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