Could not publish file: XHR for "api/hub_files" failed with status code 403

When I am trying to publish my web design , I am getting this issue. Please guide.

image

Hi there,

Thanks for flagging. Could you try clearing cache if the issue is resolved?

You can clear the desktop app cache on a Mac in the Help menu under Troubleshooting. If you’d prefer to manually clear your cache you can:

  1. Quit the Figma desktop app
  2. Open Terminal.app and enter the following command: rm -rf "$HOME/Library/Application Support/Figma"
  3. Try opening the desktop app again

You can clear the desktop app cache on Windows under the toggle-arrow at the right of the top toolbar under Help > Troubleshooting. If you’d prefer to manually clear your cache you can:

  1. Close the Figma desktop app
  2. Open the Start menu, and paste in this, followed by enter: %APPDATA%\Figma
  3. In the window that opens, delete the Desktop and DesktopProfile folders if they exist
  4. Launch the desktop app again

If that doesn’t help, please reach out to the support team here: https://help.figma.com/hc/en-us/requests/new with a copy of your file and invite support-share@figma.com to the file submitted in this ticket with “can edit” permission so we can look into this further? (This will not count towards your billing at all.)

Thank you.
Toku