Skip to content

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

Closed
@RefaelAzari

Description

@RefaelAzari

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions