Skip to content

trying to filter extension list results in an error with urlencode() #96

Open
@dinamic

Description

Hey guys 👋

I'm trying to listExtensions by filter on one or multiple types. As explained in the documentation, I need to be using an array to do that, but the SDK doesn't seem to support that.

Should I try to use an array, I get an error message:

urlencode() expects parameter 1 to be string, array given {"exception":"[object] (ErrorException(code: 0): urlencode() expects parameter 1 to be string, array given at vendor/ringcentral/ringcentral-php/src/Http/Client.php:132)

#1 vendor/ringcentral/ringcentral-php/src/Http/Client.php(132): urlencode()
#2 vendor/ringcentral/ringcentral-php/src/Http/Client.php(92): RingCentral\\SDK\\Http\\Client->parseProperties()
#3 vendor/ringcentral/ringcentral-php/src/Platform/Platform.php(326): RingCentral\\SDK\\Http\\Client->createRequest()

It feels like a bug to me, but maybe I don't know enough about the SDK.

Could you give me an example of how to do this?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions