0
0

Salesforceのアンケートでのエラー

Last updated at Posted at 2023-10-29

Salesforceのアンケートに戻る

外部アンケートでの404エラー

Apparently my template was causing the issue. I should have used Aura as @Popat Brijesh suggested.

このエラー コードの理由を特定できる人はいますか?

image.png

Can anyone identify a reason for this error code?

I was able to hop on a call with Salesforce support and identify the issue of the blue login screen. Since the survey link was routing to the login screen we knew that it must be an issue with Sites. Once we looked deeper at the site we realized that the "login" page on the default site was literally just the blue screen, as they don't really use sites so they had never tinkered with this page.

We were able to change the administration settings under Login and Registration from "Login Discovery Page" to "Default Page" for the login screen option. This allowed me to actually input the credentials as an admin and a test user.

The last piece of the puzzle was adding the correct profiles to the Member section so that they could actually login when they got to that screen.

Sorry to interrupt
This page has an error. You might just need to refresh it. 
[r is undefined] 
Failing descriptor: {markup://ArdiraSurvey:surveyResponder}

image.png

Sorry you are running into this issue. It appears that there was a cached version of the survey that was causing the issue. We have cleared the cache setting and the survey is showing up now without any error.

image.png

I found the problem, the user profile do not have access to the email template used to sen the email.

問題が見つかりました。ユーザー プロファイルには、メールの送信に使用されるメール テンプレートへのアクセス権がありません

未解決

image.png

Action failed: survey:builderStylePanel$controller$setState [Cannot read properties of undefined (reading 'classList')]

Callback failed: serviceComponent://ui.survey.components.controller.SurveyBuilderController/ACTION$getAppInitParams

Failing descriptor: {survey:builderStylePanel$controller$setState}

We couldn't find the record you're trying to access. It may have been deleted by another user, or there may have been a system error. Ask your administrator for help.

管理者以外が [招待状を送信] ボタンをクリックしたときに、このエラーが発生した人はいますか?
image.png

Sorry to hear that, but also a little relieved I'm not alone. It turns out my issue was related to the the Contact record I was testing with. Our non-admin user didn't have access to the Contact Record Type associated with the Funding Request. I've been successful in sending the invites when using the correct record type.

Update - I believe I found the issue. This error appears when the record of the Contact that I am inviting is owned by another portal user. Put another way, Contact A is a current portal user. Contact B is not; I want to invite them to join and apply for a funding request. Contact A is the record owner of Contact B. Clicking the Invite Applicant button will throw that error and Contact B will not be added as a user.

それ を聞いて申し訳ありませんが、私だけではないことに少し安心しました. 私の問題は、テストしていた連絡先レコードに関連していたことが判明しました。管理者以外のユーザーには、資金調達リクエストに関連付けられた連絡先レコード タイプへのアクセス権がありませんでした。正しいレコード タイプを使用すると、招待状の送信に成功しました。

更新 - 問題が見つかったと思います。このエラーは、招待しようとしている連絡先のレコードが別のポータル ユーザーによって所有されている場合に表示されます。別の言い方をすれば、連絡先 A は現在のポータル ユーザーです。連絡先 B はありません。私は彼らに参加を呼びかけ、資金調達のリクエストを申請したいと考えています。連絡先 A は連絡先 B のレコード所有者です。[応募者を招待] ボタンをクリックすると、そのエラーがスローされ、連絡先 B はユーザーとして追加されません。

このドメイン名はすでに使用されています

image.png

日本語で名前をつけると同エラーが出ましたが、英語で名前をつけたところコピーができました。
また、今日試したのでSpring23にバージョンアップされたことも影響があるかもしれません。

We can't open the survey because this invitation is for someone else.

Going to throw a comment in here, after spending the last 3 hours troubleshooting this exact error: If you receive this precise error message, try taking the link and putting it into an incognito browser (this is assuming you've already checked site guest user access to the needed survey objects). Turns out that the link for site guest user will FAIL if you're logged into salesforce.

We couldn't find the record you're trying to access. It may have been deleted by another user, or there may have been a system error. Ask your administrator for help.

image.png

We can't find a survey with the name that you specified. Confirm the name of the survey then try again

https://<public survey URL>/<Dev name of community>/survey/runtimeApp.app?invitationId={!SurveyInvitation.Id}&surveyName=<developer name of parent survey>&UUID={!SurveyInvitation.UUID}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0