Skip to content

Invalid JSON payload received - Flash 2.5 #149

@Dayclone

Description

@Dayclone

Branch

dev

Branch (if other)

No response

Version / Tag / Commit

Build (dev): 20260301-1-b62f6e4

Provider(s) Affected

No response

Deployment Method

Binary (exe/executable)

Operating System

Windows 11

Python Version (if running from source)

No response

Bug Description

I get this error trying flash 2.5

[2026-03-16T15:17:10.184021] API error 400: { "error": { "code": 400, "message": "Invalid JSON payload received. Unknown name \"text\" at 'request.system_instruction.parts[0]': Proto field is not repeating, cannot start list.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "request.system_instruction.parts[0]", "description": "Invalid JSON payload received. Unknown name \"text\" at 'request.system_instruction.parts[0]': Proto field is not repeating, cannot start list." } ] } ] } }

Steps to Reproduce

Run it on Flash 2.5 and you should just get this error?

Expected Behavior

It should work.

Actual Behavior

Gives an error

Error and Paylod:
error.log
request_payload.json

Request:
request.json

Error Logs / Messages


Pre-submission Checklist

  • I have searched existing issues to ensure this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions