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.

API provider ignoring query parameters

See original GitHub issue

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Documentation issue or request

Description

Query parameters on API provider operations are always null. The query parameter is passed to the unified data shape but the value is not set correctly at runtime. Instead the parameter value is always null.

You can reproduce this with a simple GET operation that uses a query parameter and log the body right after entering the operation flow.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mmuzikarcommented, Jun 19, 2019

api-provider-test-export.zip

This should crash right after the application gets started

0reactions
mmuzikarcommented, Aug 19, 2019

The crashing is no longer a problem for me. The API Provider doesn’t ignore query parameters anymore, not required parameters can be addressed with Conditional flows. Verified by QE.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should a server ignore unrecognized query parameters OR ...
Should a server ignore unrecognized query parameters (i.e. not defined in the OpenAPI document) or should it throw a 400 exception?
Read more >
Solved: Query params are ignored - The Meraki Community
i've tried adding different keys and values under 'Query Params' to filter the results. These keys and params seem to be ignored however....
Read more >
Extra Query parameters in the REST API Url - Stack Overflow
Option 1 : Ignore the extra invalid queryparam and serve the request. Option 2 : Throws bad request message to the client. Thanks...
Read more >
Ignoring Query String Parameters - SmartBear Support
To do this, enable the Ignore dynamic URL parameters property of your project and specify the list of parameters to ignore.
Read more >
Crawler: IgnoreQueryParams - Algolia
Filters out specified query parameters from crawled URLs. This can help you avoid indexing duplicate URLs. You can use wildcards to pattern ...
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