I am trying to forward events from Azure API Management to Azure Service Bus but I am getting all time internal errors.
Flow:
APIM --> Service Bus Topic --> Service Bus Queue --> Function
I added a new entry on the API section (menu right side) on API Management and I added the URL of the topic from Azure Service Bus where I want to publish this event. After that, I defined a new resource (GET/POST/...).
Only after that, I went to the Test section, I added the Authorization (Sas token from Service Bus) and I make the request. On the phase I got a 500 Internal Error.
Does Anyone know what I am doing wrong to get this error?
Note: I got the connection between the topic and a queue 100% done and tested, this is working already. The problem is from APIM to Service Bus topic.
I want to expose an API using API Management but at the same time, I want to convert everything to events after that