Skip to content

Test Interface Error 121052: Invalid JSON Format — No Logs Recorded #10

Open
@hamaboualeg

Description

@hamaboualeg

Hi team,

I'm encountering a persistent issue when using the test interface for Cloud Functions. When I run a test, I consistently receive the following error:

pgsql
Copy
Edit
121052: Invalid JSON format
However, there are no corresponding logs in the system — it appears as if the function is not invoked at all. This makes debugging impossible, as I can't determine whether the error lies in my input, the test tool itself, or the function runtime.

Steps to reproduce:

Go to the Cloud Function test interface.

Input test JSON (well-formed JSON confirmed via external validator).

Click "Test."

Receive error 121052: Invalid JSON format.

Check logs — no entries are created.

Expected behavior:

If the JSON truly is invalid, I expect a clear message pointing to the exact issue (e.g. syntax or structure).

If the function is not invoked, I would like to understand why — and have logs or errors that reflect this.

Ideally, the test tool should validate JSON before submission and prevent sending malformed data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions