alan-turing-institute / whatnow

Provide an overview of which projects REG are doing right now
MIT License
1 stars 0 forks source link

Add start_date and end_date parameters to the get-assignments request #11

Closed ots22 closed 3 years ago

ots22 commented 3 years ago
schedule.rkt> (get-the-schedule)
; Failed to connect to Forecast #"HTTP/1.1 422 Unprocessable Entity"

Verified Forecast id and token, and that Forecast is up.

Failing step is get-assignments (team, project and clients all work correctly):

...
schedule.rkt> (fc:get-assignments <forecast>)
; Failed to connect to Forecast #"HTTP/1.1 422 Unprocessable Entity"
ots22 commented 3 years ago

Edit: Indeed, the reponse contains {"errors":["start_date and end_date must be present."]}