Skip to main content

I Installed Box for Salesforce and Use Apex Action「Get Folder ID By Record ID」 by Flow.



But I get an Error mail everytime.





From: FlowApplication <info@jp.salesforce.com>


Date: *****


Subject: フロー「Target Folder Under Account」でエラーが発生しました: An Apex error occurred: box.Toolkit.BoxApiException:


エラー要素 boxID_Parent (FlowActionCall)。


An Apex error occurred: box.Toolkit.BoxApiException:





I don’t know what a happen.


Error mail has no Detail Information.(ex. Missing required input parameter: recordId. )



In ApexDebugLogDetail, I can’t get an error information too.





14:06:45.229 (229451568)|HEAP_ALLOCATE| external]|Bytes:8 14:06:45.229 (229480913)|VARIABLE_SCOPE_BEGIN|t31]|this|box.GetFolderIdByRecordId_v2.Request|true|false 14:06:45.229 (229546908)|VARIABLE_ASSIGNMENT||31]|this|{}|0x5562b465 14:06:45.229 (229624678)|HEAP_ALLOCATE|}external]|Bytes:4 14:06:45.229 (229630570)|HEAP_ALLOCATE|nexternal]|Bytes:8 14:06:45.229 (229741110)|VARIABLE_ASSIGNMENT|yexternal]|this.recordId|“0015j00001DOKzrAAH”|0x5562b465 14:06:45.229 (229751833)|HEAP_ALLOCATE|Aexternal]|Bytes:8 14:06:45.229 (229774390)|ENTERING_MANAGED_PKG|box 14:06:45.229 (229848887)|VARIABLE_SCOPE_BEGIN|D5]|box.GetFolderIdByRecordId_v2.MESSAGE_NO_ARGUMENTS|String|false|true 14:06:45.229 (229861422)|VARIABLE_SCOPE_BEGIN|a6]|box.GetFolderIdByRecordId_v2.MESSAGE_ONE_REQUEST|String|false|true 14:06:45.229 (229902737)|HEAP_ALLOCATE|texternal]|Bytes:16 14:06:45.229 (229909975)|HEAP_ALLOCATE|texternal]|Bytes:1 14:06:45.229 (229914753)|HEAP_ALLOCATE|xexternal]|Bytes:66 14:06:45.229 (229931390)|VARIABLE_ASSIGNMENT|]external]|box.GetFolderIdByRecordId_v2.MESSAGE_NO_ARGUMENTS|“No input arguments w (46 more) …” 14:06:45.229 (229936966)|HEAP_ALLOCATE|nexternal]|Bytes:69 14:06:45.229 (229946625)|VARIABLE_ASSIGNMENT|texternal]|box.GetFolderIdByRecordId_v2.MESSAGE_ONE_REQUEST|“Only one request per (49 more) …” 14:06:45.229 (229977785)|METHOD_ENTRY| 4]|01p5j00000UdxYS|box.GetFolderIdByRecordId_v2.GetFolderIdByRecordId_v2() 14:06:45.229 (229984804)|STATEMENT_EXECUTE|t4] 14:06:45.229 (229992098)|ENTERING_MANAGED_PKG|box 14:06:45.229 (230643643)|METHOD_EXIT|24]|box.GetFolderIdByRecordId_v2 14:06:45.229 (230680856)|HEAP_ALLOCATE|bexternal]|Bytes:8 14:06:45.229 (230692510)|VARIABLE_SCOPE_BEGIN|T9]|requests|List<box.GetFolderIdByRecordId_v2.Request>|true|false 14:06:45.229 (230883281)|VARIABLE_ASSIGNMENT|Rexternal]|this|{“recordId”:“0015j00001DOKzrAAH”}|0x5562b465 14:06:45.229 (230928728)|VARIABLE_ASSIGNMENT|59]|requests|“common.apex.runtime.impl.ScalarList@5562b484”|0x44c3ae83





any suggestions?



Thank you for reading my problem.



Can you try and run it in debug mode. The error states that it isn’t getting the input, I would check to make sure it is getting passed the value.


David,



Thank you for your reply and advice.


The issue has been resolved.



I found out that the box folder has been hard deleted…(at trash too)


Reply