Hi, I am unable to create new post, keep getting "access has been blocked"
Hmm... I just tried again with totally new module template, it works fine, look like something wrong with my current project.
I will double check, please ignore it.
Hi, I have followed all the steps below to add the text template file (*.tpl) into the module project: https://docs.abp.io/en/abp/latest/Text-Templating-Scriban
However, I got the below error when running in IIS (debugging with visual studio is Ok):
2023-01-05 12:23:08.235 +08:00 [ERR] Could not find a file/folder at the location: /Templates/Testing1.tplVolo.Abp.AbpException: Could not find a file/folder at the location: /Templates/Testing1.tpl
This issue does not happen with Application template, is there any step that I missed?
noted, thank @maliming
Hi, we are using ABP 5.2.2 and we plan to move from IdentityServer4 to AWS Cognito (OpenID provider provided by AWS), but we don't know where to start and anything that we need to take into consideration. Could you please give me the high-level tasks that we need to do for this kind of replacement?
Hi @EngicanV, thanks for the reply.
Hi, anyone can help us on this query?
Hi, I want to throw BusinessException with custom message without passing the error code or using error code does not exist in en.json:
// no error code
throw new BusinessException(null, "custom error message", null);
// error code does not exist
throw new BusinessException("NoErrorCode", "custom error message", null);
But received the output as below:
// no error code
{
"error": {
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
}
// error code does not exist
{
"error": {
"code": "NoErrorCode",
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
}
Any idea?
Hi @maliming, which version did you check? it does not work with version 5.2.2.
Could you check and let me know? Thank you.