How to Specify Video Type in YouTube Video Upload API to Avoid Automatic Conversion to Shorts?

i’m using this: https://github.com/PipedreamHQ/pipedream/blob/master/components/youtube_data_api/actions/create-comment-thread/create-comment-thread.mjs

I see that you’re using the “Create Comment Thread” action from Pipedream’s YouTube Data API components. If you’re still encountering the “Insufficient Permission” error, please ensure that you’ve connected the YouTube Data API account with the necessary scopes in your Pipedream workflow. To create a comment and pin it after uploading a video, you can follow these steps: 1. Use the youtube_data_api_upload_video action to upload the video. 2. Add the “Create Comment Thread” action from the YouTube Data API components. Set the videoId parameter to {{steps.youtube_data_api_upload_video.$return_value.id}}. 3. Unfortunately, there isn’t a pre-built action for pinning a comment in Pipedream’s YouTube Data API components. You’ll need to use a custom code step with the YouTube Data API to pin the comment. You can refer to the YouTube Data API documentation for more information on how to pin a comment. If you need further assistance or have any questions, feel free to ask.

i’m doing exactly as you mentioned, but getting insufficient permissions, how do I add new permissions?

I apologize for the confusion. To add new permissions (scopes) to your YouTube Data API OAuth token, please follow these steps: 1. Go to your Pipedream account’s Connected Accounts page. 2. Find the YouTube Data API account you’re using and click on “Edit”. 3. In the “Scopes” section, add the required scopes for the actions you’re performing. For example, to create and pin comments, you’ll need the following scopes: - https://www.googleapis.com/auth/youtube.force-ssl - https://www.googleapis.com/auth/youtube 4. Save the changes and use the updated OAuth token in your workflow. If you’re still facing issues, please provide more information about the specific steps in your workflow, and I’ll be happy to help you further.

there isn’t edit button next to the account

I apologize for the confusion earlier. Since there’s no edit button for the YouTube Data API account in Pipedream, you’ll need to remove the existing account and re-add it with the correct scopes. Here’s how to do it: 1. Go to your Pipedream account’s Connected Accounts page. 2. Find the YouTube Data API account you’re using and click on “Remove”. 3. Click on “Add Account” and select “YouTube Data API”. 4. In the “Scopes” section, make sure you have the required scopes for the actions you’re performing. For example, to create and pin comments, you’ll need the following scopes: - https://www.googleapis.com/auth/youtube.force-ssl - https://www.googleapis.com/auth/youtube 5. Authorize the account and use the updated OAuth token in your workflow. If you’re still facing issues, please provide more information about the specific steps in your workflow, and I’ll be happy to help you further.

but pipedream does not give me the options to choose the scopes, all are automatically generated

I apologize for the confusion earlier. It seems that Pipedream automatically sets the scopes for the YouTube Data API when you connect your account. In this case, I recommend reaching out to Pipedream support for further assistance. You can contact them at https://pipedream.com/support, and they should be able to help you with the issue of insufficient permissions.