The error message suggests that the
expirationDateTime property is required for subscription creation but is not being recognized in your request. However, based on the JSON you provided, it appears that you are including the
expirationDateTime property in the request body.
One possibility is that there might be a formatting issue with the
expirationDateTime value. Ensure that the date and time format adhere to the required format for the API you are calling. Double-check that the format is correct, including the presence of the "Z" at the end to indicate the UTC time zone.
Another possibility is that there might be an issue with the API or service you are interacting with. It's worth verifying the API documentation or contacting the service provider for further assistance.
Additionally, you can check if any other required properties are missing in the request. Review the API documentation or documentation specific to the service you are integrating with to ensure that you are including all the required properties and their values correctly.
If the issue persists, it might be helpful to provide more details about the API or service you are working with, as well as any additional relevant code or error messages you receive, to assist in troubleshooting the issue further.