Giter VIP home page Giter VIP logo

Comments (12)

eXaminator avatar eXaminator commented on July 27, 2024

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.

Nedrapter avatar Nedrapter commented on July 27, 2024

I'm on Kanka module version 3.1.11
I see the following error related to Kanka:
image
I have reloaded and relaunched my worlds.

from kanka-foundry.

eXaminator avatar eXaminator commented on July 27, 2024

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.

Nedrapter avatar Nedrapter commented on July 27, 2024

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.

Nedrapter avatar Nedrapter commented on July 27, 2024

image
This also was in the console now

from kanka-foundry.

eXaminator avatar eXaminator commented on July 27, 2024

Thanks for all the info. I'll look into this soon and will try to fix the issues.

from kanka-foundry.

eXaminator avatar eXaminator commented on July 27, 2024

@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:

  1. When in the "devtools" go to the "network" tab.
  2. Reload foundry (as mentioned in one of my previous comments).
  3. 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.
  4. You should now see a (probably long) list of network requests, at least one of which should be marked in red.
  5. 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):
    image
  • 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.

Nedrapter avatar Nedrapter commented on July 27, 2024

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.

icewolf08 avatar icewolf08 commented on July 27, 2024

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:
image
image
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.

eXaminator avatar eXaminator commented on July 27, 2024

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.

icewolf08 avatar icewolf08 commented on July 27, 2024

@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.

eXaminator avatar eXaminator commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.