invoiceninja / sdk-php

PHP wrapper for Invoice Ninja's REST API
https://www.invoiceninja.com
83 stars 41 forks source link

Failing to Make Request #42

Closed ultrasibz closed 5 years ago

ultrasibz commented 5 years ago

I am using the SDK in a laravel project, whenever i try to make a request using the browser. I get the error

what could be the problem?

hillelcoren commented 5 years ago

I'm not sure, it looks like the SDK is looking for the account_gateways table which belongs to the app database.

Note: You may want to remove the screenshot as it contains the token to access your account.

ultrasibz commented 5 years ago

It's fine, that is a self hosted, local test site. I have removed it anyway. When i use the console it works properly, so i am not sure why it's trying to use the apps database instead of making a request to the invoice ninja api.