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

OAuth1 AddParameter/AddQueryParameter Empty Value Gets "Value Cannot Be null" Exception #2022

Closed
RefaelAzari opened this issue Mar 12, 2023 · 1 comment · Fixed by #2039
Closed
Labels

Comments

@RefaelAzari
Copy link

DO NOT USE ISSUES FOR QUESTIONS

Describe the bug
Api URL - https://example.com/aps/2/collections/accounts?eq(id,1002305)
Authentication - OAuth1

when trying to POST\GET requests with empty value when using OAuth1 Authentication
getting "Value Cannot Be null" Exception

To Reproduce
POST\GET Request to https://example.com/aps/2/collections/accounts?eq(id,1002305)
with
Request.AddParameter("eq(id,1002305)",null, false);
or
Request.AddQueryParameter("eq(id,1002305)",null, false);

Expected behavior
manage to POST\GET with AddParameter\AddQueryParameter with null value using OAuth1 Authentication

Desktop (please complete the following information):

OS: Windows10
.NET 7
Version 109.0.1

image

image

@VictorKochetkov
Copy link

We have updated from 106.x to 108.x version and faced this issue too

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

Successfully merging a pull request may close this issue.

2 participants