Summary:
The Divvy Bike Parking Complaint service is currently misconfigured in the Chicago Open311 API. 1 of the 6 defined attributed is missing a unique ID (code field in the JSON). Aside from applications using that ID to keep the attribute in sync, the primary use of that ID is for submitting attribute values (answers to this question) during request submission. And since this attribute is set to required, anyone submissions will fail with the error Attribute required.
- From GET Service List, here is the snippet for Divvy Bike Parking Complaint service:
{
"service_code": "5e474265524640504963dddc",
"service_name": "Divvy Bike Parking Complaint",
"description": "Used to report improperly parked Divvy bike, so it can be retrieved and/or corrected by the Divvy Operator.",
"metadata": true,
"type": "batch",
"keywords": "code:DBPC",
"group": "Outside Agencies"
}
- From GET Service Definition, here is the snippet for the Is this the first time reporting this bike being improperly parked? attribute (question):
{
"service_code": "5e474265524640504963dddc",
"attributes": [{
"variable": true,
"datatype": "singlevaluelist",
"required": true,
"order": 2,
"description": "Is this the first time reporting this bike being improperly parked?",
"values": [{
"key": "Yes",
"name": "Yes"
}, {
"key": "No",
"name": "No"
}]
}]
}
Summary:
The Divvy Bike Parking Complaint service is currently misconfigured in the Chicago Open311 API. 1 of the 6 defined attributed is missing a unique ID (code field in the JSON). Aside from applications using that ID to keep the attribute in sync, the primary use of that ID is for submitting attribute values (answers to this question) during request submission. And since this attribute is set to required, anyone submissions will fail with the error
Attribute required.{ "service_code": "5e474265524640504963dddc", "service_name": "Divvy Bike Parking Complaint", "description": "Used to report improperly parked Divvy bike, so it can be retrieved and/or corrected by the Divvy Operator.", "metadata": true, "type": "batch", "keywords": "code:DBPC", "group": "Outside Agencies" }{ "service_code": "5e474265524640504963dddc", "attributes": [{ "variable": true, "datatype": "singlevaluelist", "required": true, "order": 2, "description": "Is this the first time reporting this bike being improperly parked?", "values": [{ "key": "Yes", "name": "Yes" }, { "key": "No", "name": "No" }] }] }