Dear community,
I tried to enter a newly generated XANO API key from the developer access section (deprecated)to my Metadata API Key Configuration field in weweb.io. Each time i get the error message: “Failed to init Xano, please ensure your API key has the permission required.”
In an other topic the weweb support said: “…you can’t paste a Developer API Key inside the Metadata API Key field. The Developer API Key has been deprecated and can only be used by old configuration until they put a Metadata API key. New configuration are asked to use the new Metadata API.”
I wanted to use this video (https://www.youtube.com/watch?v=ztcvnEWUeeA&t=66s) to add my xano data to my weweb project. I am a bit confused how to continue. Do I need to use the new Metadata API? and if yes, how do I do this?
I already followed this instructions here (Metadata API (beta) - Xano Documentation) and tried to copy and paste my Meta Data API in this format “https://xabc-1yz2-abcd.xano.io/api:meta” into my Metadata API Key Configuration field in weweb.io with the same error message. I also added a personal access token which I can use to authorize on my swagger docuementation but I do not understand how this helps me to get a solution reffering to my problem to add a Metadata API Key in weweb.io. Of course I also tried to copy and paste my personal metadata API key id from the token page into my Metadata API Key Configuration field in weweb.io, but I get the same error message…
I am completely new in this so sorry if the solution is so obvious and i don’t see it. Thanks for any hint!
Make sure that the access token has full permissions and your v1 branch has all swagger documentation enabled. Plus, this branch needs to have the auth endpoints.
Definitely a weweb bug that I dealt with this week - even if the v1 branch isn’t your live branch it needs to be set up this way. But should work for you once the conditions above are met
Thank you Jack for your quick response! I am currently working in the free “Build” Xano plan. Do I need to upgrade my plan to the chargeable “Launch” plan to make sure that my v1 branch has all swagger documentation enabled etc.?
Thanks, now everything works! I thought that I need to generate, copy and paste the developer API key into the API Key configuration field in weweb.io (like in this video https://www.youtube.com/watch?v=ztcvnEWUeeA&t=66s). Now I created a new access token, copied it into my weweb.io API Key configuration field and my problem was solved.
I’m trying to configure the xano plugin for first time, i have the correct key, set it to expire to never (as it default to 7 days) pasted into Weweb and now i’m going through the plugin configuration settings, I’ve reached “Global Headers” section and not reall sure what to do here. Is there any up-to-date instructions/videos? everything i can find is about the older plugin
(perhaps you guys should take down your old video, as old is worse that none)