Comments (12)
Hi @Nedrapter ,
have you updated to the latest version? I have released two new versions of the module that fixed bugs regarding the Kanka 2.0 integration just about 1 or 2 hours before you posted.
If this error still persists: Could you please check the devtools console on your browser or Foundry client (usually F12 on Windows or Cmd + alt + i on mac, then make sure you're on the "console" tab) for any (red) errors that might be related to Kanka? You might want to reload Foundry (F5 or Cmd + R) to make sure you see any errors coming up when initializing the module. It would be very helpful if you could post copies or screenshots of those errors here.
Thanks!
from kanka-foundry.
I'm on Kanka module version 3.1.11
I see the following error related to Kanka:
I have reloaded and relaunched my worlds.
from kanka-foundry.
Error 401 means you are not authorized to access that URL (in this case the list of campaigns). Could you please generate a new access token in Kanka and try that? Maybe your token has expired. If that still doesn't work I'll investigate a bit more in regards to vanity URLs, though I'm not sure why that would result in a 401 error 🤔
from kanka-foundry.
Error 401 means you are not authorized to access that URL (in this case the list of campaigns). Could you please generate a new access token in Kanka and try that? Maybe your token has expired. If that still doesn't work I'll investigate a bit more in regards to vanity URLs, though I'm not sure why that would result in a 401 error 🤔
Made a new one just now. Same result.
from kanka-foundry.
This also was in the console now
from kanka-foundry.
Thanks for all the info. I'll look into this soon and will try to fix the issues.
from kanka-foundry.
@Nedrapter I still cannot reproduce this issue on my end.
I have just released a new version of the module that has fixed some issues with generating links to kanka. Could you please see if this makes any difference?
Here are some of my thoughts:
- The 401 error you showed first makes it seem that your token was invalid or expired.
- The latest error makes it seem that the Kanka URL was wrong in some way.
So here are two thinks I'd like you to make 100% sure:
- Check that the token is correct. Maybe there are spaces at the beginning or end of the token? Maybe you accidentally didn't fully replace the old token but instead pasted the new one in front of the old one?
- Check that the Kanka URL is correct. Please make sure the URL is set to
https://api.kanka.io
(again, no additional space or anything like that).
If the issues keep appearing I would like some more info from you to try and resolve this issue:
- When in the "devtools" go to the "network" tab.
- Reload foundry (as mentioned in one of my previous comments).
- If the error didn't happen yet, open the Kanka Browser (via the Kanka button in the Journal Sidebar) to make sure you run into the error.
- You should now see a (probably long) list of network requests, at least one of which should be marked in red.
- Click on the red network request and you should see some details abut that request.
Please add some copies or screenshots of the following:
- The "General" part in the "Headers" tab (I made the screenshot smaller, but please make sure to include the full Request URL and Status Code):
- Copy everything in the "Response" tab and paste it here (there should probably be some error message or something like that). If what you see there seems very long or not related to any kind of error, just copy the first few lines.
If you see multiple "red" requests that seem to be related to Kanka, please repeat the above steps for all of them.
Hopefully we can find what is causing this issue for you. :)
from kanka-foundry.
Made a 4th new token but from a different browser. It seemed to work passed the step I had issues with. Then it wasn't saving my campaign choice. Then after a reload of the world, it worked. Not sure if copying it from Opera was the issue (then used Firefox), or the 4th new token fixed it...
Thanks for the assistance though!
from kanka-foundry.
I am also getting a similar error and not able to get the plugin to connect. I have tried three new API tokens including creating one in a different browser. I am getting the following errors:
It looks like the plugin is trying to call an incorrect url: https://api.kanka.io/api/1.0/campaigns
but I think it should be: https://api.kanka.io/1.0/campaigns
based on all the info and screenshots in previous posts.
from kanka-foundry.
Hi @icewolf08 ,
yep, the URL in that screenshot is wrong. Please make sure you have set "api.kanka.io" as base URL in the settings and have also updated to the latest version of the module. That should hopefully fix it for you.
from kanka-foundry.
@eXaminator it seems that it was something stuck in my browser cache. Killing chrome and re-launching allowed it to work correctly.
from kanka-foundry.
Thanks for letting me know. I will close this issue now. Let me know if you have any more errors and I'll reopen it.
from kanka-foundry.
Related Issues (20)
- Add Kanka 1.33 features HOT 1
- Relations always show as hidden HOT 3
- Journal assets aren't opening correctly
- Some items that are live in Kanka are showing as deleted in Foundry HOT 1
- Security issue! HOT 6
- Creatures for the foundry
- Missing the Creatures entry.
- Infinite Loading HOT 7
- Convo: api.kanka.io HOT 7
- [Feature Request] Integration with MJE (Even on Commission) HOT 1
- [Documentation] Can you explain how to activate/use the developing on the readme ? HOT 3
- Linked entities opens directly in Kanka HOT 1
- Update to 3.1.12 broke self-hosted Kanka HOT 3
- Allow Editing Of Kanka.io Journals In Foundry? HOT 1
- Tree limitation HOT 1
- Cannot read properties of undefined (reading '0') HOT 19
- New Kanka journal options? HOT 2
- Kanka Characters Won't Link to Foundry HOT 12
- Show entity events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kanka-foundry.