@Sebastian Mennen Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are facing a 401 error code while accessing your API via APIM endpoint using valid subscription key.
I hope you have verified if a correct subscription ID is being used against the API that's associated with the correct Product in your APIM setup. Please confirm.
Troubleshooting steps for the 401 error message is documented here: Unauthorized errors (401) while invoking APIs. Please ensure that you have followed it.
If it doesn't help. Could you please share the below details over email to azcommunity@microsoft.com with the below details:
Subject : Attn Naveen
Thread URL: Link to this thread.
- APIM Name
- Exact Time of the 401 issue in UTC.
- API Operation Name
- If you have the corresponding OCP-APIM traces that would also help. This article talks about OCP-APIM trace.
This will help us to check the backend logs for the cause of 401 error.