SDK package and version
polymarket-client==0.1.0b8
Runtime
Python 3.14.6, Windows 11, pip
What happened?
Calling setup_trading_approvals() on a freshly authenticated AsyncSecureClient
fails consistently with RequestRejectedError (code 19, "Temporary internal error.
Please retry"). This happened on 4 separate attempts across multiple sessions,
all failing at the exact same point: broadcasting the gasless deposit wallet
deployment transaction via eth_sendRawTransaction. Despite the "Please retry"
message, every attempt fails identically -- this does not appear to be transient.
Setup: signature_type=0 (EOA/MetaMask wallet), Polygon mainnet (chain_id 137).
Trace IDs from 4 separate attempts:
- da5f32a8dfd4d1d86...
- 594f3ce12356f9ae3...
- 73036433a10071b20...
- 2c91aa295e469bea3f3d2fd2a0d67a6...
Full traceback (latest attempt):
File ".../polymarket/_internal/eoa/broadcast.py", line 54, in broadcast_eoa_call
tx_hash = await rpc.eth_send_raw_transaction("0x" + signed.raw_transaction.hex())
File ".../polymarket/_internal/eoa/rpc.py", line 108, in eth_send_raw_transaction
result = await self._call("eth_sendRawTransaction", [signed_hex])
File ".../polymarket/_internal/eoa/rpc.py", line 75, in _call
raw = await self._transport.post_json("", json=envelope)
File ".../polymarket/clients/_transport.py", line 207, in post_json
response = await self._request("POST", path, params=params, json=json, headers=headers)
File ".../polymarket/clients/_transport.py", line 271, in _request
_raise_for_response_status(response)
File ".../polymarket/clients/_transport.py", line 318, in _raise_for_response_status
raise RequestRejectedError(...)
Minimal reproduction
import asyncio
from polymarket import AsyncSecureClient
async def main():
client = await AsyncSecureClient.create(
private_key="<EOA private key>",
wallet=None, # signature_type=0, no separate funder
)
handle = await client.setup_trading_approvals()
outcome = await handle.wait()
print(outcome.transaction_hash)
asyncio.run(main())
Expected behavior, actual behavior, or logs
Expected:
setup_trading_approvals() successfully deploys/confirms the gasless
deposit wallet and trading approvals, returning a transaction hash.
Actual:
Fails every time (4/4 attempts) with:
polymarket.errors.RequestRejectedError: {'message': 'Temporary internal
error. Please retry, trace-id: [trace-id], code: 19}
The error message says "Please retry," but retrying does not help --
all 4 attempts (across different sessions/days) failed identically at
the same step (eth_sendRawTransaction inside broadcast_eoa_call). This
looks like a persistent server-side issue rather than a transient one.
SDK package and version
polymarket-client==0.1.0b8
Runtime
Python 3.14.6, Windows 11, pip
What happened?
Calling setup_trading_approvals() on a freshly authenticated AsyncSecureClient
fails consistently with RequestRejectedError (code 19, "Temporary internal error.
Please retry"). This happened on 4 separate attempts across multiple sessions,
all failing at the exact same point: broadcasting the gasless deposit wallet
deployment transaction via eth_sendRawTransaction. Despite the "Please retry"
message, every attempt fails identically -- this does not appear to be transient.
Setup: signature_type=0 (EOA/MetaMask wallet), Polygon mainnet (chain_id 137).
Trace IDs from 4 separate attempts:
Full traceback (latest attempt):
File ".../polymarket/_internal/eoa/broadcast.py", line 54, in broadcast_eoa_call
tx_hash = await rpc.eth_send_raw_transaction("0x" + signed.raw_transaction.hex())
File ".../polymarket/_internal/eoa/rpc.py", line 108, in eth_send_raw_transaction
result = await self._call("eth_sendRawTransaction", [signed_hex])
File ".../polymarket/_internal/eoa/rpc.py", line 75, in _call
raw = await self._transport.post_json("", json=envelope)
File ".../polymarket/clients/_transport.py", line 207, in post_json
response = await self._request("POST", path, params=params, json=json, headers=headers)
File ".../polymarket/clients/_transport.py", line 271, in _request
_raise_for_response_status(response)
File ".../polymarket/clients/_transport.py", line 318, in _raise_for_response_status
raise RequestRejectedError(...)
Minimal reproduction
Expected behavior, actual behavior, or logs
Expected:
setup_trading_approvals() successfully deploys/confirms the gasless
deposit wallet and trading approvals, returning a transaction hash.
Actual:
Fails every time (4/4 attempts) with:
polymarket.errors.RequestRejectedError: {'message': 'Temporary internal
error. Please retry, trace-id: [trace-id], code: 19}
The error message says "Please retry," but retrying does not help --
all 4 attempts (across different sessions/days) failed identically at
the same step (eth_sendRawTransaction inside broadcast_eoa_call). This
looks like a persistent server-side issue rather than a transient one.