Internal Server Error: Get Spec job failed

Hey team,
I’m working on a new custom connector 'Google Reseller Admin API`, and I get this error stating internal server error: Get Spec job failed.

airbyte version: 0.40.4

can anyone help me out with this?

Hello,

Could you try running the spec and check commands on the connector to confirm that the connector is valid and it is able to connect to the source? Here’s how to run them in Python: Building a Python Source | Airbyte Documentation

It should look something like this:

# from airbyte-integrations/connectors/source-<source-name>
python main.py spec
python main.py check --config secrets/config.json

Please let us know your results and we can continue to investigate.

Hello @sh4sh,
I have attached the screen shot for the same.
I have developed three python custom connectors so far, never saw something like this.

Thanks for the quick reply and screenshot.

Can you share the results of the Network tab in your browser dev tools, when you try to add the connector?

Also, could you please check if running spec on the image itself will give us more information:

docker run --rm -i airbyte/source-google-reseller:dev spec

Not sure if this is applicable, but sometimes if you build a docker image on a different architecture (e.g. Mac M1) it will have issues running in Airbyte. In that case you can try building the image on your current machine or in the cloud to try and work around that issue.

1 Like

I ran the command you mentioned, and I got this error, I have created one .py file which is responsible for authenticating the scopes of the admin.

I have installed all the dependencies necessary.

Network tab screenshot

Solved the issue by adding

“google-api-python-client==1.12.8”,
“google-auth-httplib2==0.0.4”,
“google-auth-oauthlib==0.4.2”,
“oauth2client==4.1.3”

to the setup.py

1 Like

Glad to hear the issue is resolved! Please reach out if we can help with anything else.