Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.
This repository was archived by the owner on May 25, 2026. It is now read-only.

POST /order always 400 "Invalid order payload" — Gnosis Safe account, everything looks correct #343

Description

@NorrenZheng

Hey,

I've been testing order placement via the API and keep getting
{"error":"Invalid order payload"} on POST /order with a Gnosis Safe proxy.

My setup:

  • EOA: 0xF789a79b... (full address via DM if needed)
  • Safe (proxy): 0xCF98B6bF... (full address via DM if needed)
    Gnosis Safe v1.3.0, Polygon mainnet
  • signatureType: 2 (POLY_GNOSIS_SAFE)

Verified:

  • CTFExchange.getSafeAddress(EOA) returns the correct proxy ✓
  • Safe.isOwner(EOA) = true ✓
  • ecrecover(signature) = EOA ✓
  • Balance verified on-chain ✓
  • Active market token, accepting orders ✓
  • Tried signatureType 1 and 2, same 400 both times

Also noticed: getPolyProxyWalletAddress(EOA) returns a different
address — not our Safe. Is that expected for Gnosis Safe accounts?

Is there extra setup needed on the CLOB side for Safe wallets?
Related to #339?

Thanks

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