title: What could be the reason for Okta Log Api giving internal Server Error 500 through code but giving result when run from Postman
body: <p>I have a windows service which hits Okta Event Api</p>
  
  <p><a href="http://developer.okta.com/docs/api/resources/events.html" rel="nofollow noreferrer">http://developer.okta.com/docs/api/resources/events.html</a></p>
  
  <p>Now I have changed code to hit Okta Log Api </p>
  
  <p><a href="http://developer.okta.com/docs/api/resources/system_log.html" rel="nofollow noreferrer">http://developer.okta.com/docs/api/resources/system_log.html</a></p>
  
  <p>Problem : While Log api Get request works fine from postman tool it gives "Internal Server Error 500" when i run it from Code. The previous Event Api works perfectly fine from code and postman both.</p>
  
  <p>This is what I get in response: 
  {"errorCode":"E0000009","errorSummary":"Sorry, there's been an error. We aren't sure what caused it, but we've logged this and will work to address it. Please try your request again.","errorId":"7f997bbe-7a31-4431-9f42-ae40db5200ac"}</p>
  
  <p>What could be a possible reason for this?</p>