Skip to main content

When I used figma mcp, I used get_image and got the following error:
 

很抱歉,你的请求已失败。请重试。请求 ID: 476a230e-8622-423d-aa64-07a468f5a85d 原因: Request Failed: 400 {"error":{"message":"missing required Copilot-Vision-Request header for vision requests","code":""}}

Having the same issue on get_images


Same for me too using VScode. It didnt happen before and doesnt happen in Cursor or any other apps. Seems to be VScode specific. Is VScode now not accepting imagery inputs??


Hi there,
 

Thanks for flagging this. Based on the error message ​@刘亚辉  shared and ​@Gareth  mentioning that this seems to be a VS Code–specific issue, it looks like it may be related to a known bug in VS Code: bug with vision #256679

 

In that thread, a member of the VS Code engineering team mentioned:

the latest stable release is 1.102.1. Please try upgrading to the latest version and checking whether this issue remains.

 

Another user also suggested checking whether preview features are enabled:

Can you double-check if you have preview features disabled? Vision is considered a 'preview feature,' so if you don't have that enabled, vision won't work.

 

Could you take a look at that thread and try the suggestions listed there?

Our engineering team has also reported this to Microsoft, but it does appear to be something on their side that may need further attention.

 

Thanks,


It looks like we just needed to enable the ‘Editor preview’ feature at an organisation level. Everything is working now as expected thanks!