0
dermeister created
Hi,
I've been accomplished this so many times it's an easy task but this time i could not figure out why this happens. Im just trying to call a single method of my app service but it returns Filters.AbpExceptionFilterAttribute - There are 1 validation errors: Filters.AbpExceptionFilterAttribute - input is null! (input) in logs. here are some codes.
public async Task<CategoryListDto> GetCategory(IdInput input)
{
var toReturn = await _categoryRepository.GetAsync(input.Id);
return toReturn.MapTo<CategoryListDto>();
}
it does not even jumps to breakpoint.
appService.getCategory({ id: categoryId })
.success(function (data) {
vm.input = data;
});
1 Answer(s)
-
0
Hi,
Actually, your code seems correct. Can you check value of categoryId on client side ? You can check ajax request's posted data from Chrome's developer console.
It seems the only point can cause this problem.