user14996936
user14996936

Reputation:

Azure event grid api version undefined

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." } }

Upvotes: 3

Views: 1252

Answers (2)

Blane
Blane

Reputation: 673

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

Upvotes: 1

suziki
suziki

Reputation: 14113

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.)

Upvotes: 2

Related Questions