Summary
The user is facing an issue with passing OAuth credentials for a Google Sheets source in Airbyte’s API. The error indicates a missing ‘credentials’ object in the request body.
Question
Howdy! I think the oauth docs are unclear. Anyone able to help with the issue I’m having below?
I’m implementing Powered by Airbyte and using oauth for some sources. Specifically, I’m using Airbyte’s oauth credentials instead of overriding and providing my own oauth credentials.
My oauth consent flow is working, and I get back a valid secret_id after the user provides consent. Documentation makes it sounds like you can pass this as the first key/value in the POST body (see screenshots below). When I do this, I get an error that the create source endpoint is expecting the credentials object in the body. Am I supposed to pass anything into the credentials object in the request body if I’m using Airbyte’s oauth credentials? The documentation makes it sound like I don’t need to do this since I don’t need to pass my own oauth credentials. Please advise: thanks!
PS: I’m trying to create a Google Sheets source.
```error: json schema validation failed when comparing the data to the json schema. \nErrors: $: required property ‘credentials’ not found````
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.