Awal x402 pay path: payment authorized but rejected by server (links x402#1171)
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 815
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 2
Description
## Context
Linked upstream issue (primary):
- https://github.com/coinbase/x402/issues/1171
I’m filing this here as a backup routing path because `coinbase/awal` currently resolves as 404/non-public, so I cannot cross-file directly in the Awal tracker.
## Problem
From the Awal CLI path (`npx awal@latest x402 pay`), paid requests to an x402 endpoint can fail with:
```text
Bridge communication error: X402 submission failed: Payment was authorized but rejected by server
```
Server-side verify logs show facilitator rejection:
- `invalid_payload`
- `payer: undefined`
## Repro (client)
```bash
npx awal@latest x402 details https://rook-monetized-services.onrender.com/api/code-review --json
npx awal@latest x402 pay https://rook-monetized-services.onrender.com/api/code-review \
-X POST \
-d '{"code":"function add(a,b){return a+b}","language":"javascript"}' \
--max-amount 500000
```
## Repro (server observations)
- Route requirements are valid (`exact`, `eip155:8453`, `eip3009`)
- Verify still fails with `invalid_payload`
- Logs show smart-wallet/ERC-6492-shaped signature handling before rejection
## Ask
Please route/triage this with the right team (Awal + x402 facilitator verification path). If this repo is not the right tracker, please point to the public one for Awal.
Again, primary detailed thread is here:
- https://github.com/coinbase/x402/issues/1171
Contributor guide
Assessment
This issue has not been assessed yet.