Hello Acket, Kim (Antwerp),
Thank you for reaching out to Microsoft Support!
After testing, the endpoint works well, obviously the endpoint is not closed, the test results are as follows:
But your error code is 500, which seems to be a server-side error. Therefore, I suggest you open a support ticket with Microsoft Support to get help from the API owner.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.