-
Notifications
You must be signed in to change notification settings - Fork 0
Description
-
api/stations/create- returns 204 - HTTP 204 No Content - instead of a Successful Response. Throws an error in code when expecting a response withawait response.json();Please return a Successful Response. -
api/stations/create- returns an error - SyntaxError: Unexpected token 'T', "Traceback "... is not valid JSON when try to create a station with the same name. Please return the correct error below:
django.db.utils.IntegrityError: duplicate key value violates unique constraint "core_station_name_key"
DETAIL: Key (name)=(test) already exists.
Internal Server Error: /api/stations/create -
api/stations/createandapi/stations/set_locationdo not update the Station File. -
api/stations/set_locationthrows either error: 204 error (no content) or SyntaxError: Unexpected token 'T', "Traceback "... is not valid JSON when try to set a station location with the same location & time. Please return Sucdcess or the correct error below:A location already exists at the given start_time
-
Add
delete stationep in case admin creates a station by accident.