phalcon/cphalcon · error · Phalcon\Queue\Exceptions\Exception

BAD_FORMAT

Error message

BAD_FORMAT

What it means

Error "BAD_FORMAT" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Queue/Adapter/Beanstalk/BeanstalkConnection.zep:237

                meta = stream_get_meta_data(connection);

            if meta["timed_out"] {
                throw new Exception("Connection timed out");
            }
        } else {
            let data = stream_get_line(connection, 16384, "\r\n");
        }

        if data === "UNKNOWN_COMMAND" {
            throw new Exception("UNKNOWN_COMMAND");
        }

        if data === "JOB_TOO_BIG" {
            throw new Exception("JOB_TOO_BIG");
        }

        if data === "BAD_FORMAT" {
            throw new Exception("BAD_FORMAT");
        }

        if data === "OUT_OF_MEMORY" {
            throw new Exception("OUT_OF_MEMORY");
        }

        return data;
    }

    /**
     * Reads the latest status line and splits it into tokens.
     *
     * @phpstan-return queue_beanstalk_status
     */
    public function readStatus() -> array
    {
        var status;

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Queue/Adapter/Beanstalk/BeanstalkConnection.zep:237 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21). Data as JSON: /api/errors/745cb71e46f177ab. Report an issue: GitHub.