Activities of "maliming"

hi

Can you add code below to your Blazor project?

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.AddAutoMapperObjectMapper();
}

Thanks.

hi

You can try adding this class to your Web project. Then you can custom the messages.

namespace MyCompanyName.MyProjectName.Web;

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(DefaultExceptionToErrorInfoConverter), typeof(IExceptionToErrorInfoConverter))]
public class MyDefaultExceptionToErrorInfoConverter : DefaultExceptionToErrorInfoConverter
{
    public MyDefaultExceptionToErrorInfoConverter(
        IOptions<AbpExceptionLocalizationOptions> localizationOptions,
        IStringLocalizerFactory stringLocalizerFactory,
        IStringLocalizer<AbpExceptionHandlingResource> stringLocalizer,
        IServiceProvider serviceProvider)
        : base(localizationOptions, stringLocalizerFactory, stringLocalizer, serviceProvider)
    {
    }

    protected override RemoteServiceErrorInfo CreateErrorInfoWithoutCode(Exception exception, AbpExceptionHandlingOptions options)
    {
        var errorInfo = base.CreateErrorInfoWithoutCode(exception, options);

        if (errorInfo.Code == "Forbidden" &&
            errorInfo.Message == "Forbidden" &&
            errorInfo.Details == "The user represented by the token is not allowed to perform the requested action.")
        {
            errorInfo.Code = "Your New Code Here";
            errorInfo.Message = "Your New Message Here";
            errorInfo.Details = "Your New Details Here";
        }

        return errorInfo;
    }
}

hi

Your logs come from the AuthServer project. Do you also have an API website that uses JWT Bearer authentication?

Can you share the API and web projects logs?

Thanks.

ok, I will try it.

Thanks.

hi

Can you share the project info?

App or Tiered and UI type? I will try to reproduce it.

I will provide a solution to localize the error message once it is reproduced.

Thanks.

hi

Add the payment module source reference to your project.

and set a breakpoint here

hi

It should be POST, Can you debug the OnPostAsync method of GatewaySelectionModel?

Thanks.

hi

Can you check the logs?

Or you can set a breakpoint to see why the page returns a 404.

Thanks

Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.

How to reproduce this?

hi

Usually you don't need to modify anything, the module and template code already work out of the box.

https://abp.io/docs/latest/framework/fundamentals/dynamic-claims

Thanks.

Showing 1411 to 1420 of 12929 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.