Open ValTheBoss opened 1 week ago
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-directory</artifactId>
<version>directory_v1-rev20240924-2.0.0</version>
</dependency>
...
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
Thanks for reporting this @ValTheBoss. It's certainly strange that the parameters don't get sent in the native image. Do you have by any chance the reproducer project handy so we can look into it? Also, for faster response times, please refer to our support hub.
@Phakrada666, looks like you are sharing the dependencies listed in the bug as well. Are you also running into the same issue?
2024-10-14T12:44:13.891Z INFO 1 --- [my-app] [nio-8080-exec-1] c.google.api.client.http.HttpTransport : {
"error": {
"code": 400,
"message": "Bad Request",
"errors": [
{
"message": "Bad Request",
"domain": "global",
"reason": "badRequest"
}
]
}
}
There is an issue when using native compilation with GraalVM. I'm trying to use the Admin SDK API Client Library for directory operations.
Environment details
Steps to reproduce
Fresh Spring Boot 3.3.4 project.
Maven configuration
Build Directory service
Add reflection hints for ErrorInfo.class
Directory api call
Build and run image
Result of directory execute()
Reason If I launch the app in DEBUG logging mode, I can see that the URL for the API query is not properly prepared :
instead of