Connection to Freshbooks Fails with Error Code 400

:bullseye: What is your goal?

Pull invoice from freshbooks and upload to a notion page

:thinking: What is the problem & what have you tried?

Connecting to freshbooks is not working in my make scenario. I tried creating a new authorization in Freshbooks as well as creating a new scenario in Make but no progress has been made.

:clipboard: Error messages or input/output bundles

Failed to verify connection ‘My FreshBooks connection’. Status Code Error: 400.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hello,

Have you followed Connect FreshBooks and Make guide?

Hi, yes I did try that

So one more thing to validate.

Getting Accounts info from FreshBooks requires user:profile:read scope. Be sure you added it while creating an app.

I don’t want to mislead you as I don’t have any FreshBooks account right now to test it, but if your web browser URL refers in any view to anything similar to /accounting/account/{accountId}/invoices/ you can toggle on Map switch in Make for Account ID (this if field with error on your screenshoot) and paste Account ID value. If it will work- there is problem either with the scope or module itself.

If the problem still occurs, please contact Make.com support:

Thanks! Unfortunately it doesn’t have the account ID there, but a # sign. I will contact them now and report back.

I tried to contact support but I am hitting a paywall. Make AI has not been helpful either.

Advice?

Tiana, the # in the Account ID field is the useful clue. This is failing before the Notion step, so I would isolate the FreshBooks identity and connection first.

FreshBooks documents that its identity response should return an account_id inside a business membership, while a client-only identity may not have an account of its own. Confirm that the FreshBooks login used for this connection is an owner or business member, not only a client login. The identity model is here: https://www.freshbooks.com/api/identity_model.

Make’s current FreshBooks setup also requires a FreshBooks developer app, the exact Make callback URI, and the client ID and secret. Confirm those values against FreshBooks - Apps Documentation. Make sure the app has user:profile:read plus the invoice scopes you need, then revoke and reconnect the authorization after any scope change; FreshBooks does not add new scopes to an existing token.

If the selector still shows #, post a redacted screenshot of the FreshBooks app scopes, the business role shown for that login, and the full 400 response body. Hide the client secret, tokens, email, and account identifiers. That will distinguish an account-role mismatch from a connector failure.

Thanks. I did those steps already and it didn’t work.

i finally was able to get in contact with Make support. Will report back.

UPDATE:

Make support has reported the issue to their developers. Hopefully we will have a solution soon.