Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a parameter that will be ignored in every path? #2080

Open
davidyuk opened this issue Feb 2, 2025 · 0 comments · May be fixed by #2090
Open

Is there a parameter that will be ignored in every path? #2080

davidyuk opened this issue Feb 2, 2025 · 0 comments · May be fixed by #2090
Assignees

Comments

@davidyuk
Copy link
Member

davidyuk commented Feb 2, 2025

Because of load balancers on our public gateways, sdk retries requests in case of 404. It does so by adding __sdk-retry parameter with an increased value on each request to ensure that the response won't be cached by anything in between.

I've noticed that adding __sdk-retry parameter to /accounts/<address>/activities actually breaks the response

{
  "error": "invalid query: {\"__sdk-retry\", \"2\"}"
}

While the retry approach is not useful regarding this endpoint, would be good to know the parameter that can be used for this purpose. As a solution, I propose to ignore parameters starting with an underscore in query validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants