question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

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:

  1. 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:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dw511214992commented, Oct 27, 2020

released with fix: https://www.npmjs.com/package/@azure/arm-synapse/v/2.1.0 Please use latest sdk. thanks

0reactions
dw511214992commented, Oct 27, 2020

a pr is created to fix the issue: https://github.com/Azure/azure-sdk-for-js/pull/12075

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found