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

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

Open
dinamic opened this issue Jun 8, 2021 · 0 comments
Open

Comments

@dinamic
Copy link

dinamic commented Jun 8, 2021

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?

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

No branches or pull requests

1 participant