Skip to main content
Question

only 'get code' isn't working while using MCP

  • August 28, 2025
  • 2 replies
  • 336 views

ģ‹ ģš©ģš°

It’s not about the loading.

It just instantly says ā€œError: An error occurred while using the tool get_codeā€.

It happens only for ā€˜get code’. get images, metadata, and all others are working.

Both on Cursor and Claude code on Vscode.

Ā 

This topic has been closed for replies.

2 replies

Gayani_S
Figmate
  • Community Support
  • September 1, 2025

Hi ​@ģ‹ ģš©ģš°, thanks for sharing these details! I see you’ve already submitted a support ticket (#1486946), and our Support team will be following up with you shortly.

I really appreciate your patience while they investigate this. Once there’s an update or resolution, I’ll also share it back here so the community can benefit.

Ā 

Please let me know if there is anything else I can help with in the meantime!Ā 


Gayani_S
Figmate
  • Community Support
  • September 8, 2025

Hey ​@ģ‹ ģš©ģš°, following up on this. I’ve just checked your support ticketĀ (#1486946) and the team has suggested to try the following:Ā 

Restart the desktop app by going to Help > Troubleshooting > Reset Figma and Restart.
Ā 
If the issue persists please follow up on your support ticket, the team willĀ need your help with the following items:

  1. It can take around 10 seconds the first time you run get_code.
  2. On the desktop app, please go to Help > Troubleshooting > Toggle Web App Developer Tools. Then, observe the Network tab when runningĀ get_code. Could you check whether preview_page.html is getting blocked?
  3. After reproducing the issue, please export the debug log by going to Help > Troubleshooting > Save debug info, and share the downloaded log with us.

Ā 

Thank you,Ā 

GayaniĀ