HaikuTeam / animator

Design tool for creating Lottie animations and interactive web components
https://www.haikuanimator.com/
Other
1.51k stars 157 forks source link

[haiku envoy client] {"status":403,"err":"Invalid token"} #1061

Open BryanBuitenhuis opened 2 years ago

BryanBuitenhuis commented 2 years ago

I can not import my project from Figma.

I get the error after inputting the url. I don't have time to click on allow in the browser because it is giving an error before i can click 'Allow access'.

Developer console says the following. (I replaced url details with *****)

2021-10-29T08:19:00.449Z|creator |info|[figma] parsing project URL: https://www.figma.com/file/ ********
2021-10-29T08:19:01.200Z|creator |warn|[haiku envoy client] {"status":403,"err":"Invalid token"}
2021-10-29T08:19:01.202Z|creator |info|[mixpanel] creator:figma:fileImport:fail
2021-10-29T08:19:06.695Z|creator |info|[mixpanel] creator:figma:askAuthentication

Am I doing anything wrong because of the invalid token? Please help.

FredySandoval commented 2 years ago

According to the developer, there must be a process running in the background that will perform the token exchange for you. Here is the repo so you can build the it https://github.com/HaikuTeam/figma-auth

PS. I couldn't make it to work myself, so I can't tell how is done.

Baffour commented 2 years ago

@BryanBuitenhuis @FredySandoval Any luck with this? Really disappointing choice to make this open source and then not even properly support it as an open source project, to the point we have to figure out things like this just to get it running