Google Drive API のcreate_fileの挙動について

Google Drive APIを使って画像をアップロードしたりする必要があってcontent_typeを指定して画像をおくろうとしていたのですが、なぜかcontent_typeを指定しても遅れない状態で2時間ぐらいはま …

`check_status’: accessNotConfigured: Project 267285703485 is not found and cannot be used for API calls. If it is recently created, enable Drive API by visiti

これはGoogle Drive APIを有効化できていないことから発生しているエラーらしいので、有効化します GoogleAPIsにあくっすして「Google Drive」をクリック 詳細画面にいくので、「有効にする」を …