You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feb 12, 2020 5:20:05.990 PM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown
java.lang.NullPointerException: null
at io.fusionauth.api.service.user.DefaultUserService.validateBulk(DefaultUserService.java:1169)
at io.fusionauth.app.action.api.user.ImportAction.validate(ImportAction.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Expected behavior
A 400 response with a nice JSON error.
{
"fieldErrors" : {
"user.registration.applicationId" : [ {
"code" : "[missing]user.registration.applicationId",
"message" : "You must specify the [user.registration.applicationId] property for each user registration."
} ]
}
}
Workaround
Specify the applicationId for each registration.
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Import API validation exception
Description
If you import a user with a registration missing the
applicationId
property and an exception occurs.Steps to reproduce
Import example JSON
Symptom in the log
Expected behavior
A
400
response with a nice JSON error.Workaround
Specify the
applicationId
for each registration.Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: