Troubleshoot invalid ephemerides
When you upload ephemeris data to AWS Ground Station, it goes through an asynchronous validation workflow.
If validation fails, the ephemeris status will change to INVALID. The
error messaging in the DescribeEphemeris response provides detailed information
to help you identify and resolve the issue.
Understanding ephemeris validation errors
When an ephemeris fails validation, the DescribeEphemeris API response includes two fields to help diagnose the problem:
- errorCode
-
A machine-readable code identifying the specific validation error. This can be used for programmatic error handling.
- errorMessage
-
A human-readable description of the validation error with specific details about what went wrong and guidance on how to fix it.
Example DescribeEphemeris response for an invalid ephemeris:
{ "ephemerisId": "abc12345-6789-def0-1234-567890abcdef", "name": "My Invalid Ephemeris", "status": "INVALID", "creationTime": 1620254718.765, "invalidReason": "METADATA_INVALID", "errorCode": "OBJECT_NAME_MISSING", "errorMessage": "Metadata field missing: OBJECT_NAME", "suppliedData": { "tle": { "ephemerisData": "[...]" } } }
Common validation errors for TLE ephemerides
The following are common validation errors encountered when uploading TLE ephemerides:
- Mismatched satellite catalog number
-
Error: "The satellite catalog number present in the ephemeris does not match the associated satellite's satellite catalog number"
Solution: Verify that the NORAD ID/satellite catalog number in your TLE lines matches the satellite catalog number of your satellite. Use
00000for satellites without an assigned catalog number. - Invalid mean motion
-
Error: "The mean motion of the provided ephemeris differs too greatly from the most recent reference ephemeris"
Solution: Verify that your TLE data is correct and represents a valid orbit. Ground Station uses Space-Track ephemerides as a reference during validation.
Common validation errors for OEM ephemerides
The following are common validation errors encountered when uploading OEM ephemerides:
- Invalid reference frame
-
Error: "The REF_FRAME is not supported"
Solution: Update your OEM file to use one of the supported reference frames: EME2000 or ITRF2000.
- Missing required fields
-
Error: "Metadata field missing: INTERPOLATION"
Solution: Add the INTERPOLATION and INTERPOLATION_DEGREE fields to your OEM metadata section. These are required for AWS Ground Station to generate accurate antenna pointing angles.
- Unsupported time system
-
Error: "The TIME_SYSTEM is not supported"
Solution: Ensure your OEM file uses UTC as the time system.
- Unsupported OEM version
-
Error: "The CCSDS_OEM_VERS is not supported"
Solution: Ensure your OEM file uses CCSDS OEM version 2.0.
Common validation errors for azimuth elevation ephemerides
The following are common validation errors encountered when uploading azimuth elevation ephemerides:
- Missing azimuth/elevation data
-
Error: "No TimeAzEl fields were present in at least one AzElSegment"
Solution: Ensure each segment in your azimuth elevation data contains at least one time-tagged azimuth/elevation pair.
- Invalid azimuth angle range (degrees)
-
Error: "AzEl az must be greater than or equal to -180 and less or equal to 360 degrees"
Solution: Verify that azimuth angles are within [-180, 360] degrees.
- Invalid elevation angle range (degrees)
-
Error: "AzEl el must be greater than or equal to -90 and less than or equal to 90 degrees"
Solution: Verify that elevation angles are within [-90, 90] degrees.
- Invalid azimuth angle range (radians)
-
Error: "AzEl az must be greater than or equal to -pi and less than or equal to 2pi radians"
Solution: Verify that azimuth angles are within [-π, 2π] radians.
- Invalid elevation angle range (radians)
-
Error: "AzEl el must be greater than or equal to -pi/2 and less than or equal to pi/2 radians"
Solution: Verify that elevation angles are within [-π/2, π/2] radians.
- Non-monotonic time values
-
Error: "The TimeAzEl items within a AzElSegment must be temporally in order"
Solution: Ensure that the time values in each segment are strictly increasing.
- Segments out of order
-
Error: "AzElSegments must be temporally in order"
Solution: Ensure that segments are arranged in chronological order.
- Overlapping segments
-
Error: "The time range of at least one segment overlaps with other segment time ranges"
Solution: Ensure that each segment has a unique, non-overlapping time range. The
endTimeof one segment should not exceed thestartTimeof the next segment.
Troubleshooting steps
If your ephemeris fails validation, follow these steps to resolve the issue:
-
Call DescribeEphemeris with your ephemeris ID to retrieve the
errorCodeanderrorMessage. -
Review the error message for specific details about what validation check failed.
-
Correct the identified issues in your ephemeris data.
-
Upload a new ephemeris with the corrected data using CreateEphemeris.
-
Monitor the new ephemeris status until it reaches
ENABLEDstate. -
Delete the invalid ephemeris using DeleteEphemeris if it's no longer needed.
Complete error code reference
The following sections provide a comprehensive mapping of all errorCode values
that may be returned when ephemeris validation fails, organized by the high-level
invalidReason category.
Invalid Reason: METADATA_INVALID
These errors occur when required metadata fields are missing, incorrectly formatted, or contain unsupported values in the ephemeris data.
| Error Code | Error Message |
|---|---|
| MISMATCHED_SATCAT_ID | The satellite catalog number present in the TLE ephemeris does not match the associated satellite's satellite catalog number |
| OEM_VERSION_UNSUPPORTED | The CCSDS_OEM_VERS in the OEM ephemeris is not supported. Supported values: [2.0] |
| ORIGINATOR_MISSING | The ORIGINATOR header field is missing from the OEM ephemeris |
| CREATION_DATE_MISSING | The CREATION_DATE header field is missing from the OEM ephemeris |
| OBJECT_NAME_MISSING | The OBJECT_NAME metadata field is missing from the OEM ephemeris |
| OBJECT_ID_MISSING | The OBJECT_ID metadata field is missing from the OEM ephemeris |
| REF_FRAME_UNSUPPORTED | The REF_FRAME in the OEM ephemeris is not supported. Supported values: [EME2000, ITRF2000] |
| REF_FRAME_EPOCH_UNSUPPORTED | The REF_FRAME_EPOCH metadata field in the OEM ephemeris is not supported. Please remove this field from the ephemeris |
| TIME_SYSTEM_UNSUPPORTED | The TIME_SYSTEM in the OEM ephemeris is not supported. Supported values: [UTC] |
| CENTER_BODY_UNSUPPORTED | The CENTER_BODY in the OEM ephemeris is not supported. Supported values: [Earth] |
| INTERPOLATION_MISSING | The INTERPOLATION metadata field is missing from the OEM ephemeris |
| INTERPOLATION_DEGREE_INVALID | The interpolation degree in the OEM ephemeris must be larger than 0 for the interpolation method |
| AZ_EL_SEGMENT_LIST_MISSING | The azElSegmentList field is missing |
| INSUFFICIENT_TIME_AZ_EL | No TimeAzEl fields were present in at least one azElSegmentList |
Invalid Reason: TIME_RANGE_INVALID
These errors occur when the ephemeris contains invalid time ranges, including issues with start/end times, segment ordering, overlapping segments, or temporal inconsistencies.
| Error Code | Error Message |
|---|---|
| START_TIME_IN_FUTURE | Ephemeris start time is in the future, but must be in the past |
| END_TIME_IN_PAST | Ephemeris end time is in the past, but must be in the future |
| EXPIRATION_TIME_TOO_EARLY | The provided expiration time is earlier than the ephemeris end time |
| START_TIME_METADATA_TOO_EARLY | The START_TIME metadata value is earlier than the earliest time present in the OEM ephemeris data |
| STOP_TIME_METADATA_TOO_LATE | The STOP_TIME metadata value is later than the latest time present in the OEM ephemeris data |
| AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME | The endTime of at least one data segment is before the segment's startTime |
| AZ_EL_SEGMENT_TIMES_OVERLAP | The time range of at least one segment overlaps with other segment time ranges |
| AZ_EL_SEGMENTS_OUT_OF_ORDER | The segments are not temporally ordered |
| TIME_AZ_EL_ITEMS_OUT_OF_ORDER | The TimeAzEl items within a AzElSegment must be temporally in order |
| AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID | The reference epoch for a segment is invalid or incorrectly formatted |
| AZ_EL_SEGMENT_START_TIME_INVALID | The start time in a segment's valid time range does not start after the first segment |
| AZ_EL_SEGMENT_END_TIME_INVALID | The end time in a segment's valid time range does not end after the last segment |
| AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID | The valid time range for a segment is invalid |
| AZ_EL_SEGMENT_END_TIME_TOO_LATE | The end time of a segment exceeds the maximum allowed duration from the reference epoch |
| AZ_EL_TOTAL_DURATION_EXCEEDED | The total duration across all segments exceeds the maximum allowed pointing angle duration |
Invalid Reason: TRAJECTORY_INVALID
These errors occur when the ephemeris contains invalid trajectory data, including issues with orbital parameters, angle ranges, or units.
| Error Code | Error Message |
|---|---|
| MEAN_MOTION_INVALID | The mean motion of the provided TLE ephemeris differs too greatly from the most recent reference ephemeris. Note: Ground Station uses Space-Track ephemerides as a reference during validation |
| TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID | AzEl az must be greater than or equal to -π and less than or equal to 2π radians |
| TIME_AZ_EL_EL_RADIAN_RANGE_INVALID | AzEl el must be greater than or equal to -π/2 and less than or equal to π/2 radians |
| TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID | AzEl az must be greater than or equal to -180 and less or equal to 360 degrees |
| TIME_AZ_EL_EL_DEGREE_RANGE_INVALID | AzEl el must be greater than or equal to -90 degrees and less than or equal to 90 degrees |
| TIME_AZ_EL_ANGLE_UNITS_INVALID | Invalid AzEl angle units |
Invalid Reason: KMS_KEY_INVALID
These errors occur when there are issues with the AWS Key Management Service (KMS) key used to encrypt the ephemeris data.
| Error Code | Error Message |
|---|---|
| INSUFFICIENT_KMS_PERMISSIONS | Ground Station does not have sufficient permissions to access this ephemeris' KMS key |
Invalid Reason: VALIDATION_ERROR
These errors occur when there are general validation issues with the ephemeris data that don't fall into the other specific categories.
| Error Code | Error Message |
|---|---|
| INTERNAL_ERROR | Internal error occurred during ephemeris validation |
| FILE_FORMAT_INVALID | The ephemeris file format is invalid or corrupted. Verify the file conforms to the expected format for the ephemeris type |