SpaceX-API icon indicating copy to clipboard operation
SpaceX-API copied to clipboard

Data Inconsistency

Open abaruchi opened this issue 2 years ago • 0 comments

Hi,

I was exploring the API and running some experiments and I found an inconsistency when querying the payloads for a given launch.

When you check the payloads array (available in the launch API) for the launch 62f3b5200f55c50e192a4e6c you gonna see only a single payload. However when using the MongoDB like query to check all payloads associated to a given launch, it's returning three payloads:

https://api.spacexdata.com/v4/payloads/630bceadd36448026ab0163f https://api.spacexdata.com/v4/payloads/631616aeffc78f3b8567071b https://api.spacexdata.com/v4/payloads/63161760ffc78f3b8567071c

(You can see that in all payloads, the launch field is pointing to 62f3b5200f55c50e192a4e6c)

Is it a data inconsistency? If not, should I consider what is being returned by the launch endpoint or the MongoDB query?

Thanks.

abaruchi avatar Feb 02 '23 22:02 abaruchi