@adrien-laugueux said in NullPointerException with POST /api/identity-provider/start:
2020-11-02T09:12:47.670831893Z 2020-11-02 9:12:47.670 AM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown
2020-11-02T09:12:47.670862293Z java.lang.NullPointerException: null
2020-11-02T09:12:47.670866593Z at io.fusionauth.api.service.authentication.SAMLv2IdentityProviderAuthenticationService.start(SAMLv2IdentityProviderAuthenticationService.java:176)
2020-11-02T09:12:47.670870593Z at io.fusionauth.app.action.api.identityProvider.StartAction.post(StartAction.java:61)
Thanks for reporting. This looks to be a bug, moving to GitHub.
https://github.com/FusionAuth/fusionauth-issues/issues/963
As a work around, pass in a dummy data
object to the API, for example:
{
"applicationId": "1c212e59-0d0e-6b1a-ad48-f4f92793be32",
"identityProviderId": "778985b7-6fd8-414d-acf2-94f18fb7c7e0",
"data": {
"workaround": true
}
}