Skip to content

SML notes

Philip Helger edited this page Apr 30, 2019 · 3 revisions

SML Notes

If the SML communication does not work, please check the following:

HTTP status codes and their meaning

This section tries to summarize the error codes and what they mean. This list is extracted from the official documentation:

SMP management APIs

  • Initially register SMP to SML (create)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 500: Any other error occurred that prevented the SML to process the request
  • Check registration of SMP to SML (read)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 404: The identifier of the SMP could not be found
    • HTTP 500: Any other error occurred that prevented the SML to process the request
  • Updated registration of SMP to SML (update)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 404: The identifier of the SMP could not be found
    • HTTP 500: Any other error occurred that prevented the SML to process the request
  • Unregister SMP from SML (delete)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 404: The identifier of the SMP could not be found
    • HTTP 500: Any other error occurred that prevented the SML to process the request

Service Group management

  • Create new Service Group in SML (create)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 404: The SMP could not be found
    • HTTP 500: Any other error occurred that prevented the SML to process the request
  • Delete Service Group in SML (delete)

    • HTTP 400: Request is not valid
    • HTTP 401: The user is not authorized
    • HTTP 404: The SMP or participant could not be found
    • HTTP 500: Any other error occurred that prevented the SML to process the request

Generic error codes

The following errors may occur independent from the API - this list was collected from user messages and is not complete.

  • HTTP 503: the used client certificate is expired
  • HTTP 503: the used client certificate is not the one stored in the SML

Known glitches

Sometimes the SML returns an HTTP 401 (Unauthorized) when deleting a ServiceGroup. If you are sure that you own the Service Group, just try again. Especially when a Service Group was just created, it may take some time until everything works.

You can’t perform that action at this time.