Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReceptionStatus.subject_message_id in case of INVALID_DATA #21

Open
lfse-slafleur opened this issue Sep 9, 2024 · 1 comment
Open

Comments

@lfse-slafleur
Copy link
Member

It is possible that a message cannot be read due to various reasons. The S2 standard defines that a ReceptionStatus should be send where the status is set to INVALID_DATA: https://github.com/flexiblepower/s2-ws-json/wiki/Common_messages#receptionstatusvalues
In that case, a message_id is impossible to retrieve.

However, in ReceptionStatus the subject_message_id field is required (https://github.com/flexiblepower/s2-ws-json/wiki/Common_messages#receptionstatus). What should we define as the subject_message_id if the message_id is not retrievable and the ReceptionStatus.status is INVALID_DATA?

@lfse-slafleur
Copy link
Member Author

For now we are using '00000000-0000-0000-0000-000000000000' in s2-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant