TeknooSoftware / sellsy-client

PHP library to connect your applications to your Sellsy account account using the Sellsy API and build your websites and your platforms on the Sellsy technology.
https://teknoo.software/libraries/sellsy
MIT License
17 stars 16 forks source link

Error, the Accountdatas has been not found #17

Closed kalfeutre closed 5 years ago

kalfeutre commented 5 years ago

Hi, I have an issue with the Accountdatas methods when i use it on the online server. When i use on localhost i can fetch the results from this method ( for exemple ) :

Accountdatas()->getTranslationLanguages()->getResponse()

But on the server, i catch this error :

Type: DomainException

Message: Error, the Accountdatas has been not found

Filename:  app/application/vendor/teknoo/sellsy-client/src/Sellsy.php

Line Number: 201

Of course i guess it"s from the domain, but i don't understand exactly where this bug can come from ( cause other methods as Stock, Document, Client... works fine )

Thanks a lot for your help !

kalfeutre commented 5 years ago

Just found the mistake i made ( put a d lowercase instead of uppercase to AccountDatas ). My bet !

frenchcomp commented 5 years ago

No problem Have a nice day