GithubHelp home page GithubHelp logo

Comments (9)

prempador avatar prempador commented on August 26, 2024

Hello, thanks for the report.
Seems like SDKError was thrown every time an error occured, I fixed this with the latest commit. You should now see the right Error Message.

from fiskaly-sdk-swift.

 avatar commented on August 26, 2024

Thanks for the fast support! How to handle now when the SDK throws : Client response not decodable into class.
Should I modify the Decode or are there other solutions?

from fiskaly-sdk-swift.

prempador avatar prempador commented on August 26, 2024

That error should never really happen, I am trying to reproduce your problem, but I don't seem to be able to.
Could you provide any more information, as your bug report is kind of vague.

from fiskaly-sdk-swift.

 avatar commented on August 26, 2024

Hello I made a Screenshot now with the SDK which you committed, which gives me advanced Error Informations:

Bildschirmfoto 2020-06-13 um 20 00 08

from fiskaly-sdk-swift.

prempador avatar prempador commented on August 26, 2024

Could you send the String inside the body here so I can decode it? You can also decode it yourself.

But it is a 401 Error, so "Unauthorized". Please make sure you have a valid API_KEY and API_SECRET.

from fiskaly-sdk-swift.

 avatar commented on August 26, 2024

body: "eyJzdGF0dXNfY29kZSI6NDAxLCJlcnJvciI6IlVuYXV0aG9yaXplZCIsIm1lc3NhZ2UiOiJBdXRob3JpemF0aW9uIGhlYWRlciBtdXN0IGZvbGxvdyB0aGUgZm9ybWF0IFwiQXV0aG9yaXphdGlvbjogQmVhcmVyIC4uLlwiIn0="

i have a valid API_KEY and API_SECRET but I am using it without ProcessInfo.processInfo or might be there the problem?

Bildschirmfoto 2020-06-13 um 20 12 35

from fiskaly-sdk-swift.

prempador avatar prempador commented on August 26, 2024

So I was just able to reproduce the exact same error message with a wrong API_KEY Pair. Please double check your credentials.

from fiskaly-sdk-swift.

 avatar commented on August 26, 2024

Big Thanks for the fast Support! It was first a little bit weird, I guess my Xcode messed it up everything, and with the 401 I had space char in the API Secret that's why it didn't work ;D

Do you have an email where I can ask you some questions about the api like providing "andere geschäftsvorfälle" like when the client opens the cashbox to describe the transactions or should I put this information in the raw { processData }

from fiskaly-sdk-swift.

prempador avatar prempador commented on August 26, 2024

General support like questions about what and how things need to be signed are currently handled and distributed by our sales team. Please send an email to [email protected] with your questions.
We are working on a ticketing system for these questions. As soon as it is available it can be found at https://developer.fiskaly.com .

from fiskaly-sdk-swift.

Related Issues (19)

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.