Skip to content

AWS Partyrock file upload widget not working

0

Has anyone experienced issues when attempting to use the contents of the file upload widget as part of the prompt. I have a single file upload widget and nothing happens when I attempt an upload (multiple browsers attempted). I've had the assistant switch from required to optional but nothing works yet

asked 15 days ago41 views
3 Answers
1

Regarding your last comment, these actually point to a more specific technical issue rather than a local browser problem:

  • CSP Violation: The error regarding "Content Security Policy" (style-src) suggests that PartyRock's security headers are blocking some of its own UI elements from rendering during the upload process. This is something only the AWS PartyRock engineering team can fix globally.
  • File Picker Conflict: The showOpenFilePicker error 'File picker already active' often happens when an event listener is triggered twice. It seems like a bug in the specific version of the widget you are using.
  • SpeechRecognition Conflict: The logs show SpeechRecognitionButton.js involved in the crash. Check if your browser has microphone permissions blocked or if you have any 'Speech-to-Text' extensions active that might interfere with the page's JavaScript.

Workaround to try:

  • Disable Extensions: Since the log mentions Speech Recognition and Inline Styles, disable all extensions (especially AdBlockers, Grammarly, or VPNs) and try again.
  • Check 'Snapshot' vs 'Edit' mode: Sometimes the widget fails in the 'Edit' view but works in the published/public view (or vice versa). Try clicking 'Make Public' and test the link directly.

Next Step: Since you've proven it's a JS/Security policy error, I recommend posting these specific logs in the AWS PartyRock Feedback (usually via the 'Feedback' button directly in the PartyRock UI). The devs are quite active there!"

EXPERT
answered 15 days ago
0

I understand you're experiencing issues with the file upload widget in AWS PartyRock where nothing happens when you attempt to upload files, even after trying multiple browsers and toggling between required and optional settings.

While I don't have specific troubleshooting information for this exact issue in my available sources, here are some general suggestions that may help:

  1. Check file size and type: Ensure your file meets any size limitations and is in a supported format for the widget you're using.

  2. Clear browser cache: Try clearing your browser cache and cookies, or test in an incognito/private browsing window.

  3. Check browser console: Open your browser's developer tools (F12) and check the console for any error messages that might provide clues about what's failing.

  4. Try a different file: Test with a different, smaller file to see if the issue is file-specific.

  5. Refresh the PartyRock app: Try refreshing or recreating the widget in your PartyRock application.

If the issue persists, I'd recommend reaching out to AWS Support or checking the AWS PartyRock documentation and community forums for known issues or updates, as this appears to be a specific technical issue that may require direct support assistance.

answered 15 days ago
EXPERT
reviewed 15 days ago
  • I have attempted all of these (alternate files, small files, alternate browsers, alternate machines even) to no avail https://partyrock.aws/u/bruceredmon/lmTMKv4x8/ATS-Resume-Generator

  • The app generates multiple errors in the console (the first is when you click upload, the second is when you click open on the document):

    NotAllowedError: Failed to execute DirectionProvider-js:4 g* 'showOpenFilePicker' on 'Window': File picker already active. console.error @ DirectionProvider.js:4 (anonymous) @ SpeechRecognitionButton.js:2 (anonymous) SpeechRecognitionButton.Js:2 Promise.catch (anonymous) (anonymous) (anonymous) (anonymous) gt St Ct Si Ci (anonymous) ft Pn Mn @ SpeechRecognitionButton.js: 2 @ SpeechRecognitionButton.js:2 @ SpeechRecognitionButton.js: 2 @ SpeechRecognitionButton.js:2 @ react-dom.j.s:5 @ react-dom.j.s:5 @ react-dom.js:5 @ react-dom.js:5 @ react-dom.js:5 @ react-dom.js:5 @ react-dom.js:8 @ react-dom.js:5 @ react-dom.js:5 @ react-dom.js:5 @ react-dom.js:5

    •Applying inline style violates the following NativeScrollArea.js:1 g* Content Security Policy directive 'style-src 'nonce-i6bjvBMi9Z4mMctWuB/Rpw==' 'self' https://*.awswaf.com https:/Lpages.awscloud.com'. Either the 'unsafe-inline' keyword, a hash ('sha256-nzTgYzXYDNe6BAHiiI7NNlfK8n/auu0Ahh2t92YvuXo='), or a nonce ('nonce-...') is required to enable inline execution. The action has been blocked. de add Ec LU te se @ NativeScrollArea.js:1 @ NativeScrollArea.js:1 (anonymous) @ NativeScrollArea.js:1 @ react-dom.js:8 @ react-dom.js:8 (anonymous) @ react-dom. js: 8 @ react-dom.js:1 @ react-dom.js:1

0

Try using the newer Document widget for reliable file-to-prompt integration

https://aws.amazon.com/about-aws/whats-new/2024/05/party-rock-document-widget/?utm_source=copilot.com

EXPERT
answered 15 days ago
EXPERT
reviewed 14 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.