Error Code when participant ID already exists #288
-
Hi SMP team, Our team is trying to provide better error code for requests when registering with participant ID already exists, we tried to curl PUT /{ServiceGroupId} with with existing participant ID to SMP client and currently the status code returned is 500 internal server error. We are wondering if there is a better way to identify the error caused by duplicate ids? Here is the curl command we used to call SMP client:
As always, thanks for maintaining all the smp code and been really helpful for responding to all the discussions! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Well, the SML error handling is currently not good, because the SML is not responding standard compliant. See e.g. phax/peppol-commons#48 |
Beta Was this translation helpful? Give feedback.
Well, the SML error handling is currently not good, because the SML is not responding standard compliant. See e.g. phax/peppol-commons#48