Coder Social home page Coder Social logo

Comments (6)

Cardosaum avatar Cardosaum commented on June 21, 2024

Experiencing the same error.

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on June 21, 2024

Can you try the new update? https://github.com/biati-digital/alfred-calculate-anything/releases/tag/4.0.3

from alfred-calculate-anything.

tomasaazevedo avatar tomasaazevedo commented on June 21, 2024

Thank you for the very swift response, @biati-digital.

Now a 401 is being thrown when I try to run "100usd in eur".

[08:07:14.506] Calculate Anything[Script Filter] Queuing argument ''
[08:07:14.644] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:14.646] Calculate Anything[Script Filter] {"items":[]}
[08:07:14.695] Calculate Anything[Script Filter] Queuing argument 'u'
[08:07:14.727] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:14.733] Calculate Anything[Script Filter] {"items":[]}
[08:07:14.785] Calculate Anything[Script Filter] Queuing argument 'us'
[08:07:14.820] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:14.825] Calculate Anything[Script Filter] {"items":[]}
[08:07:14.944] Calculate Anything[Script Filter] Queuing argument 'usd'
[08:07:15.076] Calculate Anything[Script Filter] Queuing argument 'usd '
[08:07:15.213] Calculate Anything[Script Filter] Queuing argument 'usd i'
[08:07:15.257] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:15.263] Calculate Anything[Script Filter] {"items":[]}
[08:07:15.324] Calculate Anything[Script Filter] Queuing argument 'usd in'
[08:07:15.358] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:15.363] Calculate Anything[Script Filter] {"items":[]}
[08:07:15.438] Calculate Anything[Script Filter] Queuing argument 'usd in '
[08:07:15.471] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:15.475] Calculate Anything[Script Filter] {"items":[]}
[08:07:15.551] Calculate Anything[Script Filter] Queuing argument 'usd in e'
[08:07:15.591] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:15.597] Calculate Anything[Script Filter] {"items":[]}
[08:07:15.663] Calculate Anything[Script Filter] Queuing argument 'usd in eu'
[08:07:15.696] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:15.702] Calculate Anything[Script Filter] {"items":[]}
[08:07:15.707] Calculate Anything[Script Filter] Queuing argument 'usd in eur'
[08:07:16.181] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:16.190] Calculate Anything[Script Filter] {"items":[{"title":"Updating rates...","valid":false,"arg":""}],"rerun":0.2,"variables":{"rerun":true}}
[08:07:16.391] Calculate Anything[Script Filter] Queuing argument 'usd in eur'
[08:07:18.041] Calculate Anything[Script Filter] Script with argv '(null)' finished
[08:07:18.052] Calculate Anything[Script Filter] {"items":[{"title":"The requested URL returned error: 401","valid":false,"arg":""}],"rerun":false,"variables":{"rerun":true}}
[08:07:18.054] WARNING: Calculate Anything[Script Filter] Script rerun of 0.00 is out of range (0.1s to 5s), rerun will be ignored

I've checked the get request with my Fixer API Key and it returns the exchange rates, no problem.

http://data.fixer.io/api/latest?access_key=[ACCESS_KEY]

image

from alfred-calculate-anything.

tomasaazevedo avatar tomasaazevedo commented on June 21, 2024

[UPDATE]

Sorry, my bad. It only throws this error if I have the Fixer API Key filled in on the config. If I remove it, it works just fine now.

Since I don't need the Fixer API Key for my use, I'll just leave it blank, but there seems to be an issue when it is filled in.

Thank you very much.

from alfred-calculate-anything.

biati-digital avatar biati-digital commented on June 21, 2024

Are you testing the latest version? You do need to set the API key, if you don't but you receive results it means it's using cached rates in your computer.

Fixer returns a 401 error if the api key is not present in the request or there's a problem with the key.

Make sure you are adding the key correctly and also try to clear the workflow cache opening Alfred and typing _caclear

from alfred-calculate-anything.

tomasaazevedo avatar tomasaazevedo commented on June 21, 2024

You were right, it was a cache issue. Thanks for the support.

from alfred-calculate-anything.

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.