Skip to content

Error During Submission Process and Agent Creation in Dashboard and Main Interface #184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Geekmemz opened this issue Apr 28, 2025 · 0 comments

Comments

@Geekmemz
Copy link

I am encountering two issues while trying to deploy and use the Suno system. Below are the details of the errors:

  1. Error during submission process in the dashboard:

    • After filling in the required API keys (supabase, openrouter, daytona), I attempted to send a message in the dashboard interface but encountered the following error:
      Error during submission process: {}
      
      The error is logged in the console at src\app\(dashboard)\dashboard\page.tsx (88:17) in the handleSubmit function.
  2. Error creating agent in the main interface:

    • When sending a message in the main interface, I encountered another error:
      Error creating agent: {}
      
      This error is logged in the console at src\components\home\sections\hero-section.tsx (152:15) in the createAgentWithPrompt function.

Additional Information:

  • The errors do not provide detailed messages, making it difficult to debug.
  • Relevant stack traces and error handling mechanisms are in place, but the root cause remains unclear.
  • Environment variables for APIs (supabase, openrouter, daytona) have been correctly configured.

Network Error Captured in Browser:

  • A 403 Forbidden error was captured in the browser's network tab for the following request:
    URL: https://kmlazjczlgakkzhtjved.supabase.co/rest/v1/projects?select=*
    Method: POST
    Remote Address: 127.0.0.1:7897
    
  • Response headers indicate a potential issue with permissions or access control:
    • access-control-allow-origin: http://localhost:3000
    • content-type: application/json; charset=utf-8
    • cf-cache-status: DYNAMIC
    • strict-transport-security: max-age=31536000; includeSubDomains; preload .
  • The 403 Forbidden status suggests that the request was blocked due to insufficient permissions or misconfigured API keys, which could be related to Supabase project settings or CORS policies .

Steps to Reproduce:

  1. Fill in the required API keys (supabase, openrouter, daytona).
  2. Attempt to send a message in the dashboard interface.
  3. Observe the console error: Error during submission process: {}.
  4. Attempt to send a message in the main interface.
  5. Observe the console error: Error creating agent: {}.

Expected Behavior:

  • Messages should be sent successfully without errors in both the dashboard and main interface.

Actual Behavior:

  • Errors occur during message submission and agent creation, preventing normal functionality.

Environment:

  • Deployment method: Local.
  • Node.js version:v22.14.0.
  • Browser:Edge.

Image

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant