-
Notifications
You must be signed in to change notification settings - Fork 24
KeyError: 'There are no stored username-password credentials for this company id.' #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are two sets of credentials that are needed to get into a company file:
I think you've skipped over the second credentials. After verification, you need to provide username & password for the company file. See this line from the readme: Please also take a quick look at #18 and #33, which may help clear up some confusion. |
I added companyfile credentials after verification.
and then I got this error at here: myob.exceptions.MyobExceptionUnknown: (<Response [500]>, 'Internal Server Error') |
Eh, MYOB 500s are not fun to deal with.
Most likely it'll just be "contact support", but worth checking. In my experience, I've generally only seen 500s on massive company files, where the MYOB api falls over trying to comb through the data. Is your company file large? (eg. 5+ years of invoicing?) You could also try hitting some endpoints that aren't expected to be as large (eg. Lemme know how you go. You can also ask myob support about it. Cheers, |
Stale, closing. |
After verification, I get this error while trying to get company files.
KeyError: 'There are no stored username-password credentials for this company id.'
I got error at here:
customers = comp.contacts.all()
company_files returns this:
[CompanyFile:
banking
company
contacts
general_ledger
inventory
invoices
orders
purchase_bills
purchase_orders]
The text was updated successfully, but these errors were encountered: