Site `search` query parameter is inconsistent between SDK and Graph Explorer
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comienza reproduciendo las solicitudes /v1.0/sites en Graph Explorer y con la versión 6.33.0 del SDK, comparando las credenciales y la consulta de búsqueda serializada. Rastrea si la discrepancia está en la solicitud del Java SDK o en el comportamiento de Graph API; se considera terminado cuando se hayan establecido el componente responsable y un comportamiento coherente o una limitación documentada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
When using Graph Explorer, the API endpoint https://graph.microsoft.com/v1.0/sites returns nothing.
With Graph Explorer, it appears that using ?search=* works to return all sites.
When using the SDK, the same endpoint returns sites, and specifying queryParameters.search = "*" throws:
Syntax error: character '*' is not valid at position 0 in '*'.
com.microsoft.graph.models.odataerrors.ODataError: Syntax error: character '*' is not valid at position 0 in '*'.
based on the response:
{
"error": {
"code": "BadRequest",
"message": "Syntax error: character '*' is not valid at position 0 in '*'.",
"innerError": {
"date": "2025-03-31T18:56:12",
"request-id": "f29db1f9-b0d7-4d4b-a724-7599a932bcca",
"client-request-id": "fb1f170c-a4c0-4eb6-bb8c-852e3d3c7762"
}
}
}
These inconsistencies (along with issues like #2344 and #2345 ) make it very difficult to sanely develop applications using the MS Graph SDK.
One difference is that I am using client cert / secret credentials for the SDK and personal credentials for Explorer. That should not affect the API's functional behavior though.
Expected behavior
APIs should have consistent behavior.
How to reproduce
See above.
SDK Version
6.33.0
Latest version known to work for scenario above?
No response
Known Workarounds
Pull out hair, write code with many "argh" comments, and proceed
Debug output
No response
Configuration
No response
Other information
No response
- Lenguaje dominante
- Java
- Estrellas
- 447
- Forks
- 155
- Merge medio
- 23 h 41 min
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoftgraph/msgraph-sdk-java
-
status:waiting-for-triage type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoftgraph/msgraph-sdk-java#2610 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
microsoftgraph/msgraph-sdk-java#2678 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
microsoftgraph/msgraph-sdk-java#2654 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
microsoftgraph/msgraph-sdk-java#2639 ·
Los mantenedores suelen responder en 1 día
-
Error in PATCH onlineMeetingAbiertostatus:waiting-for-triage type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
microsoftgraph/msgraph-sdk-java#2589 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoftgraph/msgraph-sdk-java
Issues similares
-
A CSV row that removes a language with #CLEAR and fills another name of it keeps one of themAbiertobug level:trivial
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
exoego/keycloak-fuhito#666 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ant-media/Ant-Media-Server#8185 ·
Los mantenedores suelen responder en 4 días
-
desktop grp:about type:graphics-bug ui-public
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
EC2 SSH agent launch fails with NullPointerException when HTTP proxy has no password configuredAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jenkinsci/ec2-plugin#2051 ·