MissingApiVersionParameter error in all paged calls
See original GitHub issue- Package Name: @azure/arm-synapse
- Package Version: 2.0.0
- Operating system:
- nodejs
- version:
- browser
- name/version:
- typescript
- version:
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug
As an example, calls to Workspaces.ListNext()
results in MissingApiVersionParameter
error. This happens with all functions that take a nextPageLink
parameter. So far observed in Workspaces
and BigDataPools
classes:
{
code: "MissingApiVersionParameter",
message: "The api-version query parameter (?api-version=) is required for all requests."
}
- this does not repro if the non-paged versions of the same function are called.
- Dumping the value of this.client.apiVersion gives me an api version:
Debug.ts:15 [Debug] ARM Synapse current API version: 2019-06-01-preview
To Reproduce Steps to reproduce the behavior:
- just try to call any paged version of list calls for workspaces or bigdatapools.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
MissingApiVersionParameter after solution transpor...
We are get the following error trying to invoke the logic app at the manual-invoke action. So the flow fails, the logic app...
Read more >Calling REST POST but MissingApiVersionParameter error
Hi, I'm trying to trigger an Azure Logic App from ByDesign but for some reason, even though I have the api-version in the...
Read more >Azure pipeline gate - Invoke Rest API Error - The api-version ...
For this call when you call it like that you will get MissingApiVersionParameter error, because it requires you to specify api-version ...
Read more >[opennms-discuss] OpenNMS monitoring and data collection ...
A Java based fault and performance management system ... Which made the missing api-version parameter error go away, but I then noticed something...
Read more >Offset-based Pagination - Box Developer Documentation
APIs that use offset-based paging use the offset and limit query parameters ... To fetch the next page of entries the API needs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
released with fix: https://www.npmjs.com/package/@azure/arm-synapse/v/2.1.0 Please use latest sdk. thanks
a pr is created to fix the issue: https://github.com/Azure/azure-sdk-for-js/pull/12075