發表文章

目前顯示的是有「error」標籤的文章

invalid cross reference id 的各種可能性

可能原因 1. Wrong Object Type 例如在一個 User lookup filed 內嘗試填入一個 Contact Id 2. Record Deleted 嘗試操作的 record 可能已經被刪除了 3. No Permission 操作到的相關 record 可能只有 read only 權限 參考資料 https://developer.salesforce.com/forums/?id=9062I000000DKN4QAO  

Workbench Error: Parent relationship queries are disabled in Workbench

圖片
Error 症狀  Parent relationship queries are disabled in Workbench: Case.foo__c Due to issues rendering query results, parent relationship queries are disabled by default. If you understand these limitations, parent relationship queries can be enabled under Settings. Alternatively, parent relationship queries can be run with REST Explorer under the Utilities menu without issue. 解法 Solution 從workbench上方的選單進Setting 捲到下方把這個勾起來:Allows SOQL Parent Relationship Queries

workbench 一直出現 Application error

圖片
症狀  使用 workbench 時三不五時會出現這樣的 error:  Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details . You can do this from the Heroku CLI with the command heroku logs --tail 原本只是偶爾出現,後來變得頻繁出現,嚴重影響工作。 可能的解法之一 有時候換個瀏覽器就好了。 可能的解法之二 也可以試試看清理 cookies,我常常一清見效。 但也常常無效、或是短暫有效,但很快又故態復萌就是了…… 以 FireFox 為例: 1. 進入設定 2. 隱私權與安全性 3. 管理資料 4. 搜尋 developerforce 5. 移除選擇項目

網路上找到的大多數解方都對我無效的error message: There's a problem saving this record. You might not have permission to edit it, or it might have been deleted or archived. Contact your administrator for help.

症狀: 在delete entitlement的時候,會跳出error message: There's a problem saving this record. You might not have permission to edit it, or it might have been deleted or archived. Contact your administrator for help. 網路上的解法的確都按著error message字面上的意思,一面倒地要你去檢查permission設定。 但以我這個案例而言,其實是因為有related Contacts存在,而阻擋了刪除。 解方: 先刪掉Related Contact,再刪Entitlement,即可。