Reputation:
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
Reputation: 673
I received this error when I was submitting a GET
request instead of a POST
request.
Upvotes: 1
Reputation: 14113
This is the error you get:
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