OpenGoPro icon indicating copy to clipboard operation
OpenGoPro copied to clipboard

Received non-success status 403: Forbidden when Setting The Photo Output to RAW on GOPRO Hero 12

Open Jenanaputra opened this issue 3 months ago • 0 comments

Hi every one, I am using Gopro Hero 12 Black. I tried to take the photo using the code. Before taking photo, I want to set the photo output to be RAW. This is mine to initialize the gopro setting:

async def init_gopro(self):
        try:
            console.print("[bold green]Connecting to GoPro...[/bold green]")
            self.gopro = await WiredGoPro().__aenter__()
            assert (await self.gopro.http_command.load_preset_group(
                group=proto.EnumPresetGroup.PRESET_GROUP_ID_PHOTO)).ok
            console.print("[bold cyan]GoPro ready for capturing photos[/bold cyan]")     

            await self.gopro.http_setting.photo_lens.set(constants.settings.PhotoLens.LINEAR)
            console.print("[bold cyan]Gopro lens set up for Linear[/bold cyan]")    
            await asyncio.sleep(15)
            # await self.gopro.http_setting.photo_output.set(constants.settings.PhotoOutput.STANDARD)
            # console.print("[bold cyan]Gopro output is set up to standard[/bold cyan]")      
            # await asyncio.sleep(15)            
        except Exception as e:
            self.get_logger().error(f"Failed to connect to GoPro: {e}")

After I run the code , i got this log :

Image

Does anyone know about this and solve this issue? Thanks !

Jenanaputra avatar Oct 07 '25 07:10 Jenanaputra