searchWithQ() returning "General exception while processing"
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Commencez par le point d’entrée searchWithQ() et comparez la requête produite par l’appel PHP présenté avec l’exemple Microsoft Graph. Reproduisez l’ApiException avec le scénario de recherche DriveItems fourni, puis déterminez si l’appel du SDK ou l’exemple est incomplet. Le travail est terminé lorsque la cause est identifiée et qu’un exemple d’utilisation fonctionnel ou une correction précise est établi.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I am trying to use the search for DriveItems within a SharePoint drive using the searchWithQ() method of this msgraph-sdk-php package.
$filename = "File_1.txt";
$result = $graphServiceClient->drives()->byDriveId('insert-drive-id-here')->items()->byDriveItemId('child-driveitem-id-here')->searchWithQ($filename)->get()->wait();
The library is returning an ApiException with message "General exception while processing". I cannot find any examples of how to search for DriveItems using this searchWithQ() method, and the Microsoft Graph official example looks incomplete:
<?php
use Microsoft\Graph\GraphServiceClient;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$result = $graphServiceClient->drives()->byDriveId('drive-id')->items()->byDriveItemId('driveItem-id')->searchWithQ('{q}', )->get()->wait();
Is there an official working example of the searchWithQ() functionality?
- Langage dominant
- PHP
- Étoiles
- 669
- Forks
- 150
- Merge moyen
- 15 h 21 min
- PR mergées (30 j)
- 3
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoftgraph/msgraph-sdk-php
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
microsoftgraph/msgraph-sdk-php#1794 · 2 commentaires ·
-
bug: metadata type:bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
microsoftgraph/msgraph-sdk-php#1739 · 6 commentaires ·
-
status:waiting-for-triage type:bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
microsoftgraph/msgraph-sdk-php#1643 · 8 commentaires · 4 réactions ·
-
status:waiting-for-triage
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
microsoftgraph/msgraph-sdk-php#1800 · 1 réaction ·
-
Now Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 1/100
microsoftgraph/msgraph-sdk-php#1799 ·
Toutes les issues de microsoftgraph/msgraph-sdk-php
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
phingofficial/phing#2025 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
silverstripe/developer-docs#911 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100