Activities of "maliming"

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.

hi

The InboxProcessor uses distributed locks to prevent messages from being processed multiple times.

That is, there will be only one processor processing the message at a time.

https://github.com/abpframework/abp/blob/rel-10.0/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/InboxProcessor.cs#L88

The new Failure Retry Policy for InboxProcessor in 10.0:

https://abp.io/docs/10.0/release-info/migration-guides/abp-10-0#failure-retry-policy-for-inboxprocessor

Thanks

Showing 21 to 30 of 11531 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.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.