[CryptoAPI] Issue while encrypting  input parameter in server action
cryptoapi
Service icon
Forge component by João Barata
Application Type
Service

I am getting an error when i  try to encrypt a text input string and pass to a server action. 

Please find below the error.

'Array dimensions exceeded supported range'

I am using CryptoAPI to encrypt and decrypt input parameter.

Please refer the attached screenshot to understand the logic flow. I am getting the error in the server action marked in the screenshot. I am passing the encrypted text as input parameter to the server action.

Please help me in with a solution for this issue. Actually the production deployment of this application depends on the solution for this.

implementation.PNG

Hi Sundeep,

Please refer below thread and can you please check the input value  in your decrypt action may be its empty.

https://www.outsystems.com/forums/discussion/57740/i-am-getting-error-array-dimensions-exceeded-supported-range-using-aes-decrypt/

Best Regards

Devendra



 

Hi Sundeep,

Can you share the OML so that we can understand the problem in detail or a detailed screenshot if you cannot share the oml?

Hi Sundeep,

Please refer below thread and can you please check the input value  in your decrypt action may be its empty.

https://www.outsystems.com/forums/discussion/57740/i-am-getting-error-array-dimensions-exceeded-supported-range-using-aes-decrypt/

Best Regards

Devendra



 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.