Azure event grid api version undefined

Viewed 530

I created an azure event Topic and added an azure function (event trigger type) as a subscription. when trying to send a request through postman I get undefined API version.

Error:

{ "error": { "code": "ApiVersionUnspecified", "message": "An API version is required, but was not specified." } }

2 Answers

This is the error you get:

enter image description here

As Roman Kiss says, you should use URI like below:

https://<topic-endpoint>?api-version=2018-01-01

(And also you need to authorize it.)

I received this error when I was submitting a GET request instead of a POST request.

Related