-
Notifications
You must be signed in to change notification settings - Fork 1
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
Search request return 500 #4
Comments
… ________________________________
From: Greg Marineau <[email protected]>
Sent: Thursday, May 7, 2020 9:01:51 AM
To: educach/dsb-client
Cc: Subscribed
Subject: [educach/dsb-client] Search request return 500 (#4)
Hi,
I try to make a request with the search method but it's return an error code 500
Educa\DSB\Client\ApiClient\ClientRequestException: Request to /search failed. Status: 500
$client = new ClientV2('https://demo-dsb-api.educa.ch/v2', 'secret', 'secret', 'secret');
$client->authenticate();
$client->search();
It's work fine when I use for example the "loadDescription" method.
I don't know if you can give me more details about this error ?
Best regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#4>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACXBW7LKCNGZD7GHKPCOI2TRQJMF7ANCNFSM4M3B5INA>.
|
… ________________________________
From: Greg Marineau <[email protected]>
Sent: Thursday, May 7, 2020 9:01:51 AM
To: educach/dsb-client
Cc: Subscribed
Subject: [educach/dsb-client] Search request return 500 (#4)
Hi,
I try to make a request with the search method but it's return an error code 500
Educa\DSB\Client\ApiClient\ClientRequestException: Request to /search failed. Status: 500
$client = new ClientV2('https://demo-dsb-api.educa.ch/v2', 'secret', 'secret', 'secret');
$client->authenticate();
$client->search();
It's work fine when I use for example the "loadDescription" method.
I don't know if you can give me more details about this error ?
Best regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#4>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACXBW7LKCNGZD7GHKPCOI2TRQJMF7ANCNFSM4M3B5INA>.
|
Hi @dpizarroeduca, I have found the bug. Your demo server return an 500 error when the "sortBy" variable is set to "random". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I try to make a request with the search method but it's return an error code 500
It's work fine when I use for example the "loadDescription" method.
I don't know if you can give me more details about this error ?
Best regards
The text was updated successfully, but these errors were encountered: