SpaceTradersAPI / api-docs

The API documentation for the SpaceTraders API
143 stars 35 forks source link

500 response on survey at X1-DN76-32104E #62

Closed eseidel closed 1 year ago

eseidel commented 1 year ago

Happened several times in a row just now.

Unhandled exception:
ApiException 500: {"error":{"code":500,"message":"Something unexpected went wrong! If you want to help you can file an issue here: https://github.com/SpaceTradersAPI/api-docs"}}
#0      FleetApi.createSurvey (package:space_traders_api/api/fleet_api.dart:332:7)
ESEIDEL-1D - Orbiting X1-DN76-32104E ASTEROID_FIELD EXCAVATOR 0/60
Making request to /my/ships/ESEIDEL-1D/survey
eseidel commented 1 year ago

It's repeatedly happening, so I guess I'll just leave my client off for now.

l3iodeez commented 1 year ago

I am also getting 500 responses at X1-BC59-31634B

itslenny commented 1 year ago

Incase it helps with repro, Scalorn Scorpus / Niabus on discord reported these 2 additional waypoints that cause this issue

X1-ZX98-60355A

X1-ZN86-36716F

itslenny commented 1 year ago

Looks like every one that causes a 500 has no _DEPOSITS traits. One has explosive gases. The other 3 have nothing. Shouldn't be a 500, but should probably be a "your survey yielded no results" type of situation.

{"data":{"systemSymbol":"X1-DN76","symbol":"X1-DN76-32104E","type":"ASTEROID_FIELD","x":-44,"y":66,"orbitals":[],"traits":[{"symbol":"EXPLOSIVE_GASES","name":"Explosive Gases","description":"A volatile environment filled with highly reactive gases, posing a constant risk to those who venture too close and offering opportunities for harvesting valuable materials such as hydrocarbons."}],"chart":{"waypointSymbol":"X1-DN76-32104E","submittedBy":"ESEIDEL-2","submittedOn":"2023-06-10T21:18:04.153Z"},"faction":{"symbol":"COBALT"}}}
{"data":{"systemSymbol":"X1-BC59","symbol":"X1-BC59-31634B","type":"ASTEROID_FIELD","x":-77,"y":-55,"orbitals":[],"traits":[{"symbol":"STRIPPED","name":"Stripped","description":"A waypoint that has been heavily exploited for its resources, leaving a scarred and depleted landscape with diminished opportunities for future development."}],"chart":{"submittedBy":"ECHO","submittedOn":"2023-06-10T16:03:29.608Z"},"faction":{"symbol":"ECHO"}}}
{"data":{"systemSymbol":"X1-ZX98","symbol":"X1-ZX98-60355A","type":"ASTEROID_FIELD","x":90,"y":-18,"orbitals":[],"traits":[{"symbol":"STRIPPED","name":"Stripped","description":"A waypoint that has been heavily exploited for its resources, leaving a scarred and depleted landscape with diminished opportunities for future development."}],"chart":{"waypointSymbol":"X1-ZX98-60355A","submittedBy":"REDANIAN_SPY-55","submittedOn":"2023-06-11T15:38:02.506Z"},"faction":{"symbol":"QUANTUM"}}}
{"data":{"systemSymbol":"X1-ZN86","symbol":"X1-ZN86-36716F","type":"ASTEROID_FIELD","x":45,"y":-42,"orbitals":[],"traits":[{"symbol":"STRIPPED","name":"Stripped","description":"A waypoint that has been heavily exploited for its resources, leaving a scarred and depleted landscape with diminished opportunities for future development."}],"chart":{"waypointSymbol":"X1-ZN86-36716F","submittedBy":"REDANIAN_SPY-A0","submittedOn":"2023-06-11T15:27:11.497Z"}}}
space-admiral commented 1 year ago

This should be resolved as of the last reset.